-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
41 lines (41 loc) · 1.04 KB
/
docker-compose.yml
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
services:
gameframex:
image: gameframex/server.launcher:1.0.0
container_name: gameframex
ports:
# APM 端口
- "29090:29090"
# TCP 端口
- "29100:29100"
# WebSocket 端口
- "29110:29110"
environment:
- ServerType=Game
- ServerId=1000
- APMPort=29090
- InnerIp=127.0.0.1
- InnerPort=29100
- OuterIp=127.0.0.1
- OuterPort=29100
- MinModuleId=10
- MaxModuleId=9999
- WsPort=29110
- DiscoveryCenterIp=127.0.0.1
- DiscoveryCenterPort=10001
- HttpCode=inner_httpcode
- DataBaseUrl=mongodb://gameframex:[email protected]:27017/?authSource=admin
- DataBaseName=gameframex
networks:
- frontend
- backend
volumes:
- "./running/hotfix:/app/hotfix"
- "./running/json:/app/json"
- "./running/logs:/app/logs"
networks:
frontend:
name: gameframex-frontend
driver: bridge
backend:
name: gameframex-backend
driver: bridge