-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
47 lines (46 loc) · 987 Bytes
/
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
version: '3'
services:
mysql:
container_name: mysql
restart: always
image: wonderlandpark/mariadb-mroonga:latest
hostname: mysql
env_file:
- .env
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
volumes:
- /home/ubuntu/mysql-beta:/var/lib/mysql
mongo:
container_name: mongo
restart: always
image: mongo:5.0
hostname: mongo
env_file:
- .env
volumes:
- /home/ubuntu/mongo-beta:/data/db
bot:
container_name: bot
restart: always
image: 397554924689.dkr.ecr.ap-northeast-2.amazonaws.com/dskr
links:
- mongo
env_file:
- .env
web:
container_name: web
restart: always
image: 397554924689.dkr.ecr.ap-northeast-2.amazonaws.com/koreanlist
ports:
- 4000:3000
links:
- mysql
- mongo
env_file:
- .env.beta.production.local
deploy:
resources:
limits:
memory: 500M