forked from dcrodman/archon
/
docker-compose.yml
72 lines (72 loc) · 1.67 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
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
70
71
72
version: '3.4'
services:
postgres:
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_DB: archondb
POSTGRES_USER: archonadmin
POSTGRES_PASSWORD: psoadminpassword
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U archonadmin -d archondb && psql -U archonadmin -lqt | cut -d \\| -f 1 | grep -qw archondb" ]
interval: 5s
timeout: 5s
retries: 5
account:
build:
context: .
command:
- /usr/bin/account
- --config
- /etc/archon
- --username=testuser
- --password=testpass
- --email=test@mail
- add
environment:
ARCHON_DATABASE_HOST: postgres
depends_on:
postgres:
condition: service_healthy
server:
build:
context: .
command:
- /usr/bin/server
- --config
- /etc/archon
environment:
ARCHON_DATABASE_HOST: postgres
ARCHON_PATCH_SERVER_PATCH_DIR: ./patches
ARCHON_CHARACTER_SERVER_PARAMETERS_DIR: ./parameters
ARCHON_SHIP_SERVER_SHIPGATE_ADDRESS: 0.0.0.0:13000
ports:
- 11000:11000
- 11001:11001
- 12000:12000
- 12001:12001
- 13000:13000
depends_on:
postgres:
condition: service_healthy
packet_analyzer:
build:
context: .
command:
- /usr/bin/analyzer
- -folder=sessions
- -ui=8083
- -auto
environment:
ARCHON_DEBUGGING_ENABLED: "true"
ARCHON_PACKET_ANALYZER_ADDRESS: packet_analyzer:8081
ports:
- 8081:8081
- 8082:8082
- 8083:8083
volumes:
- /tmp/sessions:/go/archon/archon_server/sessions
depends_on:
postgres:
condition: service_healthy