Update restart policy and disable kill-the-newsletter

This commit is contained in:
Brieuc Dubois 2023-12-25 23:15:18 +01:00
parent 97ae973211
commit 143466c92d
3 changed files with 6 additions and 2 deletions

View File

@ -28,6 +28,7 @@ services:
seafile-storage: seafile-storage:
container_name: seafile-storage container_name: seafile-storage
image: mariadb:10.11 image: mariadb:10.11
restart: unless-stopped
environment: environment:
- MYSQL_ROOT_PASSWORD=${MARIADB_ROOT} - MYSQL_ROOT_PASSWORD=${MARIADB_ROOT}
volumes: volumes:
@ -38,6 +39,7 @@ services:
seafile-memcached: seafile-memcached:
container_name: seafile-memcached container_name: seafile-memcached
image: memcached:1.6.18 image: memcached:1.6.18
restart: unless-stopped
entrypoint: memcached -m 256 entrypoint: memcached -m 256
networks: networks:
- file - file
@ -45,6 +47,7 @@ services:
seafile: seafile:
container_name: seafile container_name: seafile
image: seafileltd/seafile-mc:latest image: seafileltd/seafile-mc:latest
restart: unless-stopped
volumes: volumes:
- $DATA/file/data:/shared - $DATA/file/data:/shared
environment: environment:
@ -72,5 +75,3 @@ services:
networks: networks:
file: file:
external:
external: true

View File

@ -21,3 +21,5 @@ services:
- "traefik.http.routers.kill-the-newsletter.entrypoints=internalsecure" - "traefik.http.routers.kill-the-newsletter.entrypoints=internalsecure"
networks: networks:
- external - external
deploy:
replicas: 0

View File

@ -2,6 +2,7 @@ services:
miniflux: miniflux:
container_name: miniflux container_name: miniflux
image: miniflux/miniflux:latest image: miniflux/miniflux:latest
restart: unless-stopped
environment: environment:
- BASE_URL=https://miniflux.bhasher.com - BASE_URL=https://miniflux.bhasher.com
- DATABASE_URL=${MINIFLUX_DATABASE_URL} - DATABASE_URL=${MINIFLUX_DATABASE_URL}