-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.07 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.8"
networks:
app-tier:
driver: bridge
services:
db:
image: mysql:8.0
container_name: genesis_db
restart: always
env_file:
- ./.env
command: --default-authentication-plugin=mysql_native_password --bind-address=0.0.0.0 --explicit_defaults_for_timestamp
volumes:
- ./sql:/docker-entrypoint-initdb.d
ports:
- 3306:3306
networks:
- app-tier
adminer:
image: adminer
container_name: genesis_adminer
restart: always
ports:
- 8080:8080
networks:
- app-tier
api:
container_name: genesis_api
stdin_open: true
tty: true
restart: always
build: .
ports:
- 5555:5555
volumes:
- ./App:/genesis_api/App
networks:
- app-tier
redis_rate_limiting:
restart: always
image: "redis"
container_name: redis_rate_limiting
ports:
- "6379:6379"
networks:
- app-tier
redis_sessions:
restart: always
image: "redis"
container_name: redis_sessions
ports:
- "6380:6379"
networks:
- app-tier