-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 1.15 KB
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
services:
bot:
container_name: yuuko
build:
context: .
dockerfile: Dockerfile
volumes:
# Mount the RSA key folder and the database folder
- ./src/RSA:/usr/src/Yuuko/src/RSA
- ./src/database/sqlite:/usr/src/Yuuko/src/database/sqlite
env_file:
- ./.env.local
environment:
- NODE_ENV=docker
depends_on:
- dragonfly
api:
container_name: yuuko-api
env_file:
- ./.env.local
ports:
- ${PORT}:${PORT}
build:
context: .
dockerfile: Dockerfile
volumes:
# Mount the RSA key folder and the database folder
- ./src/RSA:/usr/src/Yuuko/src/RSA
- ./src/database/sqlite:/usr/src/Yuuko/src/database/sqlite
entrypoint: ["bun", "api"]
dragonfly:
container_name: dragonfly
image: "docker.dragonflydb.io/dragonflydb/dragonfly"
ulimits:
memlock: -1
ports:
- "6379:6379"
volumes:
- dragonflydata:/data
volumes:
dragonflydata: