-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
50 lines (50 loc) · 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
version: '3.9'
services:
darim-mariadb10:
image: mariadb:10
container_name: darim-mariadb10
ports:
- 3306:3306
environment:
- MARIADB_ROOT_PASSWORD_HASH=
volumes:
- darim-mariadb10:/var/lib/mysql
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
networks:
- darim_net
darim-redis7:
image: redis:7
container_name: darim-redis7
ports:
- 6379:6379
volumes:
- darim-redis7:/data
networks:
- darim_net
darim-server:
build: server
image: darim-server:latest
container_name: darim-server
ports:
- 9150:9150
depends_on:
- darim-mariadb10
- darim-redis7
networks:
- darim_net
darim-api-gateway:
build: api-gateway
image: darim-api-gateway:latest
container_name: darim-api-gateway
ports:
- 80:80
- 443:443
depends_on:
- darim-server
networks:
- darim_net
networks:
darim_net:
driver: bridge