docker networks: standardize names #241

Merged
mg merged 1 commit from interla into master 2024-11-15 21:20:10 +01:00
4 changed files with 15 additions and 15 deletions

View file

@ -19,7 +19,7 @@ services:
CLEANUP_ARCHIVE_READ_DAYS: 90 CLEANUP_ARCHIVE_READ_DAYS: 90
TZ: Europe/Berlin TZ: Europe/Berlin
networks: networks:
- intern - internal
- traefik - traefik
healthcheck: healthcheck:
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"] test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
@ -45,7 +45,7 @@ services:
volumes: volumes:
- db17:/var/lib/postgresql/data - db17:/var/lib/postgresql/data
networks: networks:
- intern - internal
healthcheck: healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"] test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s interval: 10s
@ -68,7 +68,7 @@ services:
volumes: volumes:
- ./filter.txt:/data/filter.txt - ./filter.txt:/data/filter.txt
networks: networks:
- intern - internal
######## Volumes ######## ######## Volumes ########
volumes: volumes:
@ -77,5 +77,5 @@ volumes:
networks: networks:
traefik: traefik:
external: true external: true
intern: internal:
driver: bridge driver: bridge

View file

@ -17,7 +17,7 @@ services:
MYSQL_USER: nextcloud MYSQL_USER: nextcloud
MYSQL_INITDB_SKIP_TZINFO: 1 MYSQL_INITDB_SKIP_TZINFO: 1
networks: networks:
- intern - internal
healthcheck: healthcheck:
test: ["CMD", "mariadb-show", "nextcloud", "-h", "localhost", "-u", "nextcloud", "-p{{ lookup('viczem.keepass.keepass', 'nextcloud/nextcloud_mysql_password', 'password') }}"] test: ["CMD", "mariadb-show", "nextcloud", "-h", "localhost", "-u", "nextcloud", "-p{{ lookup('viczem.keepass.keepass', 'nextcloud/nextcloud_mysql_password', 'password') }}"]
interval: 30s interval: 30s
@ -36,7 +36,7 @@ services:
container_name: nextcloud-redis container_name: nextcloud-redis
hostname: nextcloud-redis hostname: nextcloud-redis
networks: networks:
- intern - internal
restart: unless-stopped restart: unless-stopped
pull_policy: missing pull_policy: missing
command: "redis-server --requirepass {{ lookup('viczem.keepass.keepass', 'nextcloud/nextcloud_redis_host_password', 'password') }}" command: "redis-server --requirepass {{ lookup('viczem.keepass.keepass', 'nextcloud/nextcloud_redis_host_password', 'password') }}"
@ -101,7 +101,7 @@ services:
- ./misc.sh:/docker-entrypoint-hooks.d/post-installation/misc.sh - ./misc.sh:/docker-entrypoint-hooks.d/post-installation/misc.sh
- ./misc.sh:/docker-entrypoint-hooks.d/before-starting/misc.sh - ./misc.sh:/docker-entrypoint-hooks.d/before-starting/misc.sh
networks: networks:
- intern - internal
- traefik - traefik
- postfix - postfix
healthcheck: healthcheck:
@ -129,7 +129,7 @@ services:
######## Networks ######## ######## Networks ########
networks: networks:
intern: internal:
driver: bridge driver: bridge
traefik: traefik:
external: true external: true

View file

@ -8,7 +8,7 @@ services:
- oci:/var/lib/registry - oci:/var/lib/registry
networks: networks:
- traefik - traefik
- intern - internal
depends_on: depends_on:
- oci-registry-redis - oci-registry-redis
healthcheck: healthcheck:
@ -51,7 +51,7 @@ services:
image: "redis:7.4.1" image: "redis:7.4.1"
container_name: oci-registry-redis container_name: oci-registry-redis
networks: networks:
- intern - internal
restart: unless-stopped restart: unless-stopped
pull_policy: missing pull_policy: missing
environment: environment:
@ -80,7 +80,7 @@ services:
- oci-registry - oci-registry
networks: networks:
- traefik - traefik
- intern - internal
healthcheck: healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1"] test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1"]
interval: 30s interval: 30s
@ -99,7 +99,7 @@ services:
networks: networks:
traefik: traefik:
external: true external: true
intern: internal:
######## Volumes ######## ######## Volumes ########
volumes: volumes:

View file

@ -11,7 +11,7 @@ services:
# For the web front-end # For the web front-end
- "17170:17170" - "17170:17170"
networks: networks:
- intern - internal
- traefik - traefik
- postfix - postfix
volumes: volumes:
@ -56,7 +56,7 @@ services:
- MYSQL_USER=lldap-db-user - MYSQL_USER=lldap-db-user
- MYSQL_INITDB_SKIP_TZINFO=1 - MYSQL_INITDB_SKIP_TZINFO=1
networks: networks:
- intern - internal
labels: labels:
- com.centurylinklabs.watchtower.enable=true - com.centurylinklabs.watchtower.enable=true
@ -66,7 +66,7 @@ volumes:
db: db:
######## Networks ######## ######## Networks ########
networks: networks:
intern: internal:
traefik: traefik:
external: true external: true
postfix: postfix: