-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (61 loc) · 1.87 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
################################################################################
# Copyright (C) 2017 by Arena of Titans Contributors.
#
# This file is part of Arena of Titans.
#
# Arena of Titans is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Arena of Titans is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with Arena of Titans. If not, see <http://www.gnu.org/licenses/>.
################################################################################
version: '3'
services:
aot-dev-api:
image: registry.gitlab.com/arenaoftitans/arena-of-titans-api/dev/aot-api:22.05.1
command: ["python3", "-m", "aot", "--reload"]
depends_on:
- aot-redis
environment:
ENV: development
PYTHONBREAKPOINT: pudb.set_trace
CACHE_HOST: aot-redis
ports:
- "8181:8181"
- "6900:6900"
tty: true
stdin_open: true
volumes:
- ./:/opt/aot-api:Z
working_dir: /opt/aot-api
aot-gateway:
image: registry.gitlab.com/arenaoftitans/aot-gateway:22.01.1
depends_on:
- aot-dev-api
environment:
API_HOST: aot-dev-api
PORT: 8182
REDIS: aot-redis:6379
ports:
- "8182:8182"
nginx-proxy:
image: docker.io/nginx
tty: true
depends_on:
- aot-gateway
ports:
- "8180:80"
volumes:
- ./docker/cfg/nginx.conf:/etc/nginx/nginx.conf:ro,Z
aot-redis:
image: docker.io/redis
tty: true
ports:
- "6379:6379"