-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 1014 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
volumes:
gsm3_data:
driver: local
services:
management_panel:
build: .
container_name: GSManager3
image: xiaozhu674/gameservermanager:latest
user: root
ports:
# GSM3管理面板端口
- "3001:3001"
# 游戏端口,按需映射
- "27015:27015"
volumes:
#steam用户数据目录 不建议修改
- ./game_data:/home/steam/.config
- ./game_data:/home/steam/.local
- ./game_file:/home/steam/games
#root用户数据目录 不建议修改
- ./game_data:/root/.config
- ./game_data:/root/.local
- ./game_file:/root/steam/games
#面板数据,请勿改动
- gsm3_data:/root/server/data
environment:
- TZ=Asia/Shanghai # 设置时区
- SERVER_PORT=3001 # GSM3服务端口
stdin_open: true # 保持STDIN打开
tty: true # 分配TTY
restart: unless-stopped # 自动重启策略