Skip to content

Commit

Permalink
Make sure the containers always restart
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone committed Feb 26, 2024
1 parent 2f03a3c commit 79db65f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions atuin/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.4"
services:
sidecar:
hostname: atuin
restart: unless-stopped
restart: always
volumes:
- tailscale-data:/var/lib/tailscale
devices:
Expand All @@ -20,7 +20,7 @@ services:
atuin:
image: ghcr.io/atuinsh/atuin:18.0.0
network_mode: "service:sidecar"
restart: unless-stopped
restart: always
depends_on:
- db
command: server start
Expand All @@ -32,7 +32,7 @@ services:
ATUIN_DB_URI: postgres://$ATUIN_DB_USERNAME:$ATUIN_DB_PASSWORD@localhost/atuin
db:
image: postgres:14
restart: unless-stopped
restart: always
network_mode: "service:sidecar"
volumes: # Don't remove permanent storage for index database files!
- "atuin-data:/var/lib/postgresql/data/"
Expand Down
6 changes: 3 additions & 3 deletions changedetection/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
# - FETCH_WORKERS=10

# Comment out ports: when using behind a reverse proxy , enable networks: etc.
restart: unless-stopped
restart: always

# Used for fetching pages via WebDriver+Chrome where you need Javascript support.
# Now working on arm64 (needs testing on rPi - tested on Oracle ARM instance)
Expand All @@ -90,14 +90,14 @@ services:
# # Workaround to avoid the browser crashing inside a docker container
# # See https://github.com/SeleniumHQ/docker-selenium#quick-start
# - /dev/shm:/dev/shm
# restart: unless-stopped
# restart: always

# Used for fetching pages via Playwright+Chrome where you need Javascript support.

# playwright-chrome:
# hostname: playwright-chrome
# image: browserless/chrome
# restart: unless-stopped
# restart: always
# environment:
# - SCREEN_WIDTH=1920
# - SCREEN_HEIGHT=1024
Expand Down
4 changes: 2 additions & 2 deletions cobalt/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:

cobalt-api:
image: ghcr.io/wukko/cobalt:7
restart: unless-stopped
restart: always
container_name: cobalt-api
network_mode: service:sidecar

Expand Down Expand Up @@ -53,7 +53,7 @@ services:

cobalt-web:
image: ghcr.io/wukko/cobalt:7
restart: unless-stopped
restart: always
container_name: cobalt-web
network_mode: service:sidecar

Expand Down
2 changes: 1 addition & 1 deletion jackett/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
jackett:
image: lscr.io/linuxserver/jackett:latest
network_mode: "service:sidecar"
restart: unless-stopped
restart: always
volumes:
- blob-media:/media
- jackett-config:/config
Expand Down
4 changes: 2 additions & 2 deletions lidarr/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ services:
- lidarr-config:/config
- blob-media:/data
network_mode: "service:sidecar"
restart: unless-stopped
restart: always
exporter:
image: ghcr.io/onedr0p/exportarr:latest
command: lidarr
restart: unless-stopped
restart: always
network_mode: "service:sidecar"
environment:
- PORT=9707
Expand Down
2 changes: 1 addition & 1 deletion openobserve/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
openobserve:
image: public.ecr.aws/zinclabs/openobserve:latest
network_mode: "service:sidecar"
restart: unless-stopped
restart: always
env_file: .logs.env
volumes:
- data:/data
Expand Down
4 changes: 2 additions & 2 deletions readarr/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ services:
- readarr-config:/config
- blob-media:/data
network_mode: "service:sidecar"
restart: unless-stopped
restart: always

exporter:
image: ghcr.io/onedr0p/exportarr:latest
command: readarr
restart: unless-stopped
restart: always
network_mode: "service:sidecar"
environment:
- PORT=9707
Expand Down
2 changes: 1 addition & 1 deletion sickchill/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- blob-media:/mnt/media
- sickchill-data:/var/lib/sickchill
network_mode: "service:sidecar"
restart: unless-stopped
restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"

Expand Down

0 comments on commit 79db65f

Please sign in to comment.