-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 loc) · 1.1 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
---
version: '3.3'
networks:
game:
driver: bridge
services:
api:
container_name: kalaxia_api
image: kalaxia/api
env_file:
- kalaxia.env
networks:
- game
volumes:
- "./volumes/rsa_vault:/go/src/kalaxia-game-api/rsa_vault"
nginx:
container_name: kalaxia_nginx
build: nginx
networks:
- game
depends_on:
- api
env_file:
- kalaxia.env
extra_hosts:
- "local.kalaxia.com:127.0.0.1"
volumes:
- "./volumes/app:/srv/app"
# nginx
- "./volumes/ssl:/etc/ssl"
- "./volumes/html:/usr/share/nginx/html"
- "./volumes/logs/nginx:/var/log/nginx"
networks:
- game
ports:
- "${NGINX_HTTPS_PORT}:443"
- "${NGINX_PORT}:80"
postgresql:
container_name: kalaxia_postgresql
image: postgres:9.6
env_file:
- kalaxia.env
networks:
- game
ports:
- "5432"
phpgpadmin:
container_name: kalaxia_phpgpadmin
image: zhajor/docker-phppgadmin
env_file:
- kalaxia.env
networks:
- game
ports:
- "9090:80"