forked from LyoSU/quote-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (41 loc) · 1.01 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
version: '3'
services:
bot:
image: ghcr.io/cielneko/quote-bot
env_file: .env-bot
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
- quotly
command: node index.js
volumes:
- ./config:/app/config
mongo:
restart: always
image: mongo
volumes:
- ./data/db:/data/db
networks:
- quotly
api:
image: ghcr.io/cielneko/quote-api
env_file: .env-api
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
- ./fonts:/app/assets/fonts
- /usr/local/share/fonts:/usr/local/shre/fonts:ro
- /usr/share/fonts:/usr/share/fonts:ro
networks:
- quotly
command: node index.js
networks:
quotly: