-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathdocker-compose-arm64.yml
More file actions
43 lines (41 loc) · 1.18 KB
/
Copy pathdocker-compose-arm64.yml
File metadata and controls
43 lines (41 loc) · 1.18 KB
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
33
34
35
36
37
38
39
40
41
42
43
volumes:
gsm3_data_arm:
driver: local
game_data:
driver: local
services:
management_panel_arm64:
build:
context: .
platforms:
- linux/arm64
container_name: GSManager3-ARM64
image: xiaozhu674/gameservermanager:latest-arm
platform: linux/arm64
user: root
ports:
# GSM3管理面板端口
- "3001:3001"
# 注意:ARM64版本不支持游戏服务器,无需映射游戏端口
volumes:
# ARM64版本数据目录
- game_data:/root/.config
- game_data:/root/.local
# 面板数据,请勿改动
- gsm3_data_arm:/root/server/data
environment:
- TZ=Asia/Shanghai # 设置时区
- SERVER_PORT=3001 # GSM3服务端口
- ARCH=arm64 # 架构标识
stdin_open: true # 保持STDIN打开
tty: true # 分配TTY
restart: unless-stopped # 自动重启策略
# ARM64资源限制(更轻量)
deploy:
resources:
limits:
cpus: '2.0'
memory: 2G
reservations:
cpus: '1.0'
memory: 1G