-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 939 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 939 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
33
34
35
36
37
38
39
40
41
version: '3.8'
services:
app:
image: ghcr.io/rafaelctz/gworkspace-toolbox:latest
container_name: gworkspace-toolbox
ports:
- "8000:8000"
volumes:
- ./credentials.json:/app/credentials.json
- ./token.json:/app/token.json
- ./exports:/app/exports
- ./database:/app/database
environment:
- PORT=8000
- HOST=0.0.0.0
restart: unless-stopped
networks:
- gworkspace-network
labels:
- "com.centurylinklabs.watchtower.enable=true"
watchtower:
image: containrrr/watchtower
container_name: gworkspace-toolbox-watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_POLL_INTERVAL=86400
- WATCHTOWER_LABEL_ENABLE=true
restart: unless-stopped
networks:
- gworkspace-network
networks:
gworkspace-network:
driver: bridge
volumes:
exports: