Docker: use default networks from compose
This commit is contained in:
parent
fe591b0db4
commit
946e2dae73
5 changed files with 13 additions and 22 deletions
|
@ -9,7 +9,7 @@ services:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: authentik-redis
|
container_name: authentik-redis
|
||||||
networks:
|
networks:
|
||||||
- authentik
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
|
@ -33,7 +33,7 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
networks:
|
networks:
|
||||||
- authentik
|
- default
|
||||||
- postgres
|
- postgres
|
||||||
- proxy
|
- proxy
|
||||||
worker:
|
worker:
|
||||||
|
@ -51,14 +51,14 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
networks:
|
networks:
|
||||||
- authentik
|
- default
|
||||||
- postgres
|
- postgres
|
||||||
geoipupdate:
|
geoipupdate:
|
||||||
image: maxmindinc/geoipupdate
|
image: maxmindinc/geoipupdate
|
||||||
container_name: authentik-geoipupdate
|
container_name: authentik-geoipupdate
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- authentik
|
- default
|
||||||
volumes:
|
volumes:
|
||||||
- geoip:/usr/share/GeoIP
|
- geoip:/usr/share/GeoIP
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -67,8 +67,6 @@ services:
|
||||||
GEOIPUPDATE_EDITION_IDS: GeoLite2-City
|
GEOIPUPDATE_EDITION_IDS: GeoLite2-City
|
||||||
GEOIPUPDATE_FREQUENCY: '8'
|
GEOIPUPDATE_FREQUENCY: '8'
|
||||||
networks:
|
networks:
|
||||||
authentik:
|
|
||||||
external: true
|
|
||||||
postgres:
|
postgres:
|
||||||
external: true
|
external: true
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- hass:/config
|
- hass:/config
|
||||||
networks:
|
networks:
|
||||||
- homeautomation
|
- default
|
||||||
- postgres
|
- postgres
|
||||||
- proxy
|
- proxy
|
||||||
ports:
|
ports:
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
# environment:
|
# environment:
|
||||||
# - TZ=Europe/Helsinki
|
# - TZ=Europe/Helsinki
|
||||||
# networks:
|
# networks:
|
||||||
# - homeautomation
|
# - default
|
||||||
# ports:
|
# ports:
|
||||||
# - 1883:1883
|
# - 1883:1883
|
||||||
# - 8866:8866
|
# - 8866:8866
|
||||||
|
@ -44,7 +44,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 10200:10200
|
- 10200:10200
|
||||||
networks:
|
networks:
|
||||||
- homeautomation
|
- default
|
||||||
command:
|
command:
|
||||||
- --voice
|
- --voice
|
||||||
- en_US-hfc_male-medium
|
- en_US-hfc_male-medium
|
||||||
|
@ -60,7 +60,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 10300:10300
|
- 10300:10300
|
||||||
networks:
|
networks:
|
||||||
- homeautomation
|
- default
|
||||||
depends_on:
|
depends_on:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
command:
|
command:
|
||||||
|
@ -72,8 +72,6 @@ services:
|
||||||
- whisper_english:/data
|
- whisper_english:/data
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
homeautomation:
|
|
||||||
external: false
|
|
||||||
postgres:
|
postgres:
|
||||||
external: true
|
external: true
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- default
|
||||||
- postgres
|
- postgres
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -41,7 +41,7 @@ services:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: redis-nextcloud
|
container_name: redis-nextcloud
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: redis-server --requirepass 123
|
command: redis-server --requirepass 123
|
||||||
coturn:
|
coturn:
|
||||||
|
@ -54,7 +54,7 @@ services:
|
||||||
- 3478:3478/udp
|
- 3478:3478/udp
|
||||||
- 49160-49200:49160-49200/udp
|
- 49160-49200:49160-49200/udp
|
||||||
networks:
|
networks:
|
||||||
- nextcloud
|
- default
|
||||||
command:
|
command:
|
||||||
- -n
|
- -n
|
||||||
- --log-file=stdout
|
- --log-file=stdout
|
||||||
|
@ -76,8 +76,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
networks:
|
networks:
|
||||||
nextcloud:
|
|
||||||
external: false
|
|
||||||
postgres:
|
postgres:
|
||||||
external: true
|
external: true
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
image: searxng/searxng
|
image: searxng/searxng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- searx
|
- default
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
- config:/etc/searxng
|
- config:/etc/searxng
|
||||||
|
@ -29,7 +29,7 @@ services:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
command: redis-server --save "" --appendonly "no"
|
command: redis-server --save "" --appendonly "no"
|
||||||
networks:
|
networks:
|
||||||
- searx
|
- default
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /var/lib/redis
|
- /var/lib/redis
|
||||||
cap_drop:
|
cap_drop:
|
||||||
|
@ -39,8 +39,5 @@ services:
|
||||||
- SETUID
|
- SETUID
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
networks:
|
networks:
|
||||||
searx:
|
|
||||||
ipam:
|
|
||||||
driver: default
|
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue