forked from minmatarfleet/minmatar.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-prod.yml
104 lines (94 loc) · 2.26 KB
/
docker-compose-prod.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: '2.0'
services:
app:
build:
context: ./backend/.
dockerfile: Dockerfile
working_dir: /opt/minmatar
command: ./app-start.sh
env_file:
- .env
ports:
- "8020:8000"
bot:
build:
context: ./bot/.
dockerfile: Dockerfile
working_dir: /opt/bot
command: python3 main.py
env_file:
- bot/.env
beat:
build:
context: ./backend/.
dockerfile: Dockerfile
restart: always
env_file: .env
command: celery -A app beat -l info
depends_on:
- app
celery:
build:
context: ./backend/.
dockerfile: Dockerfile
restart: always
env_file: .env
command: celery -A app worker -l info
deploy:
mode: replicated
replicas: 6
depends_on:
- app
frontend:
build:
context: ./frontend/
dockerfile: Dockerfile
depends_on:
- app
env_file:
- frontend/.env
ports:
- "4321:4321"
volumes:
- "./frontend/app/src/data:/app/src/data"
redis:
image: redis:6.0.9-alpine
volumes:
- "redis:/var/lib/redis"
- "redis:/data"
mumble_murmur:
image: mumblevoip/mumble-server:v1.4.230-6
hostname: murmur
restart: on-failure
volumes:
- murmur_data:/data
- ./mumble/murmur/murmur.ini:/data/murmur.ini
environment:
- MUMBLE_CUSTOM_CONFIG_FILE=/data/murmur.ini
- MUMBLE_VERBOSE=true
ports:
- 64738:64738
- 64738:64738/udp
expose:
- 6502
mumble_auth:
build:
context: ./backend/.
dockerfile: Dockerfile.mumble
restart: on-failure
command: python3 mumble.py
env_file:
- .env
depends_on:
- mumble_murmur
expose:
- 6502
metabase:
image: metabase/metabase:latest
ports:
- 3000:3000
env_file:
- .env
volumes:
redis: {}
murmur_data: {}