-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 1001 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (31 loc) · 1001 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
services:
cobalthelper-bot:
container_name: bot
image: python
command: sh -c "cd /app && pip install -r requirements.txt && python3 bot.py"
volumes:
- ./:/app
environment:
TOKEN: "PLACE TOKEN HERE"
cobalt-api:
image: ghcr.io/imputnet/cobalt:10
init: true
read_only: true
restart: unless-stopped
container_name: cobalt-api
ports:
- 9000:9000/tcp
volumes:
- ./:/media/cobalt
environment:
API_URL: "http://127.0.0.1:9000"
API_AUTH_REQUIRED: false
labels:
- com.centurylinklabs.watchtower.scope=cobalt
# watchtower updates the cobalt image automatically
watchtower:
image: ghcr.io/containrrr/watchtower
restart: unless-stopped
command: --cleanup --scope cobalt --interval 900 --include-restarting
volumes:
- /var/run/docker.sock:/var/run/docker.sock