forked from PSRewired/FragmentServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (66 loc) · 2.21 KB
/
docker-compose.yml
File metadata and controls
69 lines (66 loc) · 2.21 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
fragment_mysql:
image: 'mysql:8'
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: 'd3ve10pm3nt'
restart: always
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-p$d3ve10pm3nt"]
interval: 10s
timeout: 5s
retries: 5
lobby_server:
image: psrewired/mps-netslum:lobby
build:
context: .
target: final
ports:
- '${LOBBY_TCP_PORT:-49000}:49000' # Lobby/Relay Server
- '${LOBBY_HTTP_PORT:-5000}:5000' # Web API
environment:
- ASPNETCORE_URLS=http://+:${LOBBY_HTTP_PORT:-5000}
- TcpServer__Port=49000
- ConnectionStrings__Database=server=fragment_mysql;port=3306;database=fragment_redux;username=root;password=d3ve10pm3nt;
- Serilog__MinimumLevel__Default=Information
command: ["./Fragment.NetSlum.Server"]
depends_on:
fragment_mysql:
condition: service_healthy
game_server:
image: psrewired/mps-netslum:game
build:
context: .
target: final
ports:
- '${GAME_TCP_PORT:-49002}:49002' # Game Server
- '${GAME_HTTP_PORT:-5002}:5002' # Web API
environment:
- ASPNETCORE_URLS=http://+:${GAME_HTTP_PORT:-5002}
- TcpServer__Port=49002
- DOTNET_EF_AUTO_MIGRATE=false
- ConnectionStrings__Database=server=fragment_mysql;port=3306;database=fragment_redux;username=root;password=d3ve10pm3nt;
- Serilog__MinimumLevel__Default=Information
command: ["./Fragment.NetSlum.Server"]
depends_on:
fragment_mysql:
condition: service_healthy
update_server:
image: psrewired/mps-netslum:update
build:
context: .
target: final
ports:
- '${UPDATE_TCP_PORT:-49001}:49001' # Update Server
- '${UPDATE_HTTP_PORT:-5001}:5001' # Web API
environment:
- ASPNETCORE_URLS=http://+:${UPDATE_HTTP_PORT:-5001}
- TcpServer__Port=49001
- DOTNET_EF_AUTO_MIGRATE=false
- ConnectionStrings__Database=server=fragment_mysql;port=3306;database=fragment_redux;username=root;password=d3ve10pm3nt;
- Serilog__MinimumLevel__Default=Information
command: ["./Fragment.NetSlum.Server"]
depends_on:
fragment_mysql:
condition: service_healthy