Docker: use default networks from compose

This commit is contained in:
Marko Korhonen 2025-06-09 23:18:30 -05:00
parent fe591b0db4
commit 946e2dae73
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 13 additions and 22 deletions

View file

@ -9,7 +9,7 @@ services:
image: redis:alpine
container_name: authentik-redis
networks:
- authentik
- default
restart: unless-stopped
volumes:
- redis:/data
@ -33,7 +33,7 @@ services:
env_file:
- .env
networks:
- authentik
- default
- postgres
- proxy
worker:
@ -51,14 +51,14 @@ services:
env_file:
- .env
networks:
- authentik
- default
- postgres
geoipupdate:
image: maxmindinc/geoipupdate
container_name: authentik-geoipupdate
restart: unless-stopped
networks:
- authentik
- default
volumes:
- geoip:/usr/share/GeoIP
env_file:
@ -67,8 +67,6 @@ services:
GEOIPUPDATE_EDITION_IDS: GeoLite2-City
GEOIPUPDATE_FREQUENCY: '8'
networks:
authentik:
external: true
postgres:
external: true
proxy:

View file

@ -13,7 +13,7 @@ services:
- /etc/localtime:/etc/localtime:ro
- hass:/config
networks:
- homeautomation
- default
- postgres
- proxy
ports:
@ -28,7 +28,7 @@ services:
# environment:
# - TZ=Europe/Helsinki
# networks:
# - homeautomation
# - default
# ports:
# - 1883:1883
# - 8866:8866
@ -44,7 +44,7 @@ services:
ports:
- 10200:10200
networks:
- homeautomation
- default
command:
- --voice
- en_US-hfc_male-medium
@ -60,7 +60,7 @@ services:
ports:
- 10300:10300
networks:
- homeautomation
- default
depends_on:
- home-assistant
command:
@ -72,8 +72,6 @@ services:
- whisper_english:/data
- /etc/localtime:/etc/localtime:ro
networks:
homeautomation:
external: false
postgres:
external: true
proxy:

View file

@ -9,7 +9,7 @@ services:
container_name: nextcloud
restart: unless-stopped
networks:
- nextcloud
- default
- postgres
- proxy
volumes:
@ -41,7 +41,7 @@ services:
image: redis:alpine
container_name: redis-nextcloud
networks:
- nextcloud
- default
restart: unless-stopped
command: redis-server --requirepass 123
coturn:
@ -54,7 +54,7 @@ services:
- 3478:3478/udp
- 49160-49200:49160-49200/udp
networks:
- nextcloud
- default
command:
- -n
- --log-file=stdout
@ -76,8 +76,6 @@ services:
networks:
- proxy
networks:
nextcloud:
external: false
postgres:
external: true
proxy:

View file

View file

@ -6,7 +6,7 @@ services:
image: searxng/searxng
restart: unless-stopped
networks:
- searx
- default
- proxy
volumes:
- config:/etc/searxng
@ -29,7 +29,7 @@ services:
image: redis:alpine
command: redis-server --save "" --appendonly "no"
networks:
- searx
- default
tmpfs:
- /var/lib/redis
cap_drop:
@ -39,8 +39,5 @@ services:
- SETUID
- DAC_OVERRIDE
networks:
searx:
ipam:
driver: default
proxy:
external: true