Skip to content

Commit c8b559e

Browse files
committed
Add watchtower
1 parent 5ccd5db commit c8b559e

File tree

6 files changed

+34
-8
lines changed

6 files changed

+34
-8
lines changed

atuin/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ services:
1515
environment:
1616
- TS_SERVE_PORT=8888
1717
image: ghcr.io/offbyone/sidecar:main
18+
labels:
19+
- "com.centurylinklabs.watchtower.enable=true"
1820
atuin:
1921
image: ghcr.io/atuinsh/atuin:18.0.0
2022
network_mode: "service:sidecar"

cobalt/docker-compose.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
image: ghcr.io/offbyone/sidecar:main
1818
labels:
1919
- com.centurylinklabs.watchtower.scope=cobalt
20+
- "com.centurylinklabs.watchtower.enable=true"
2021

2122
cobalt-api:
2223
image: ghcr.io/wukko/cobalt:7
@@ -43,6 +44,7 @@ services:
4344
#- cookiePath=/cookies.json
4445
# see cookies_example.json for example file.
4546
labels:
47+
- com.centurylinklabs.watchtower.enable=true
4648
- com.centurylinklabs.watchtower.scope=cobalt
4749

4850
# if you want to use cookies when fetching data from services, uncomment volumes and next line
@@ -73,14 +75,7 @@ services:
7375

7476
labels:
7577
- com.centurylinklabs.watchtower.scope=cobalt
76-
77-
# update the cobalt image automatically with watchtower
78-
watchtower:
79-
image: ghcr.io/containrrr/watchtower
80-
restart: unless-stopped
81-
command: --cleanup --scope cobalt --interval 900
82-
volumes:
83-
- /var/run/docker.sock:/var/run/docker.sock
78+
- com.centurylinklabs.watchtower.enable=true
8479

8580
volumes:
8681
tailscale-data:

jackett/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ services:
1414
environment:
1515
- TS_SERVE_PORT=9117
1616
image: ghcr.io/offbyone/sidecar:main
17+
labels:
18+
- "com.centurylinklabs.watchtower.enable=true"
19+
1720
jackett:
1821
image: lscr.io/linuxserver/jackett:latest
1922
network_mode: "service:sidecar"
@@ -24,6 +27,8 @@ services:
2427
environment:
2528
- PGID=1000
2629
- PUID=1000
30+
labels:
31+
- "com.centurylinklabs.watchtower.enable=true"
2732

2833
volumes:
2934
tailscale-data:

radarr/docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ services:
1414
env_file: .proxy.env
1515
environment:
1616
- TS_SERVE_PORT=8310
17+
labels:
18+
- "com.centurylinklabs.watchtower.enable=true"
1719
radarr:
1820
image: lscr.io/linuxserver/radarr:latest
1921
network_mode: "service:sidecar"
@@ -24,6 +26,8 @@ services:
2426
environment:
2527
- PGID=1000
2628
- PUID=1000
29+
labels:
30+
- "com.centurylinklabs.watchtower.enable=true"
2731
exporter:
2832
image: ghcr.io/onedr0p/exportarr:latest
2933
command: radarr
@@ -34,6 +38,8 @@ services:
3438
- URL=http://localhost:8310
3539
# APIKEY must be set in here
3640
env_file: .exportarr.env
41+
labels:
42+
- "com.centurylinklabs.watchtower.enable=true"
3743

3844
volumes:
3945
tailscale-data:

sickchill/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ services:
1414
environment:
1515
- TS_SERVE_PORT=8080
1616
image: ghcr.io/offbyone/sidecar:main
17+
labels:
18+
- "com.centurylinklabs.watchtower.enable=true"
1719

1820
sickchill:
1921
build:
@@ -25,6 +27,8 @@ services:
2527
- sickchill-data:/var/lib/sickchill
2628
network_mode: "service:sidecar"
2729
restart: unless-stopped
30+
labels:
31+
- "com.centurylinklabs.watchtower.enable=true"
2832

2933
volumes:
3034
tailscale-data:

watchtower/docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: '3.5'
2+
3+
services:
4+
watchtower:
5+
image: containrrr/watchtower
6+
volumes:
7+
- /var/run/docker.sock:/var/run/docker.sock
8+
- ./.links/watchtower-config.json:/config.json
9+
command: --interval 30
10+
env_file: .env
11+
environment:
12+
WATCHTOWER_LABEL_ENABLE: true
13+
labels:
14+
- "com.centurylinklabs.watchtower.enable=true"

0 commit comments

Comments
 (0)