Skip to content

Commit 60ed9d1

Browse files
committed
watchtower service added in compose to make the deployment automated for agent service via github actions workflow
1 parent 0042cc9 commit 60ed9d1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docker-compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ services:
6363
tty: true
6464
networks:
6565
- local_code_network
66+
labels:
67+
- com.centurylinklabs.watchtower.enable=true
68+
69+
watchtower:
70+
image: containrrr/watchtower:latest
71+
container_name: watchtower
72+
restart: unless-stopped
73+
volumes:
74+
- /var/run/docker.sock:/var/run/docker.sock
75+
command: --label-enable --cleanup --interval 300
6676

6777
volumes:
6878
ollama_data:

0 commit comments

Comments
 (0)