-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
120 lines (111 loc) · 2.9 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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
version: "3"
networks:
asylamba:
driver: bridge
mongo:
driver: bridge
services:
game:
container_name: asylamba_game
build: applications/asylamba-game
image: asylamba/game
depends_on:
- mysql
- redis
env_file:
- asylamba.env
volumes:
- "./volumes/apps:/srv/apps"
- "./volumes/logs/game:/srv/logs"
networks:
- asylamba
blackfire:
container_name: asylamba_blackfire
image: blackfire/blackfire
environment:
# Exposes the host BLACKFIRE_SERVER_ID and TOKEN environment variables.
- BLACKFIRE_CLIENT_ID
- BLACKFIRE_CLIENT_TOKEN
- BLACKFIRE_SERVER_ID
- BLACKFIRE_SERVER_TOKEN
networks:
- asylamba
phpmyadmin:
container_name: asylamba_phpmyadmin
image: nazarpc/phpmyadmin
environment:
SESSION_TIMEOUT: 86400
ABSOLUTE_URI: "https://local.asylamba.com"
networks:
- asylamba
ports:
- "8082:80"
# MYSQL Database
mysql:
container_name: asylamba_mysql
build: mysql
image: asylamba/mysql
env_file:
- asylamba.env
networks:
- asylamba
volumes:
# mysql
- "./volumes/mysql:/var/lib/mysql"
# Nginx webserver
nginx:
container_name: asylamba_nginx
build: nginx
image: asylamba/nginx
depends_on:
- game
env_file:
- asylamba.env
extra_hosts:
- "local.asylamba.com:127.0.0.1"
- "preprod.asylamba.com:127.0.0.1"
- "s14.asylamba.com:127.0.0.1"
volumes:
# applications
- "./volumes/apps:/srv/apps"
# nginx
- "./volumes/ssl:/etc/ssl"
- "./volumes/html:/usr/share/nginx/html"
- "./volumes/logs/nginx:/var/log/nginx"
networks:
- asylamba
ports:
- "443:443"
- "80:80"
redis:
container_name: asylamba_redis
image: redis
env_file:
- asylamba.env
networks:
- asylamba
ports:
- "6379:6379"
redisCommander:
container_name: asylamba_redis_commander
image: tenstartups/redis-commander
command: --redis-host redis
depends_on:
- redis
networks:
- asylamba
ports:
- "8081:8081"
mongodb:
container_name: asylamba_mongodb
image: mongo
networks:
- mongo
feedback-manager:
container_name: asylamba_feedback_manager
image: citadeltechnologies/feedback-manager
env_file:
- asylamba.env
networks:
- asylamba
- mongo