-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 700 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 700 Bytes
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
services:
karen:
build:
dockerfile: karen/Dockerfile
context: "."
ports:
- 52736:52736
- 8674:8674
volumes:
- type: bind
source: ./karen/secrets.json
target: /villager-bot/karen/secrets.json
deploy:
replicas: ${KAREN_ENABLED:-1}
init: true
extra_hosts:
- "host.docker.internal:host-gateway"
restart: on-failure
bot:
build:
dockerfile: bot/Dockerfile
context: "."
depends_on:
- karen
volumes:
- type: bind
source: ./bot/secrets.json
target: /villager-bot/bot/secrets.json
deploy:
replicas: ${CLUSTER_COUNT:-1}
init: true
restart: on-failure