1
0
Fork 0

unify networks

This commit is contained in:
Lukáš Kucharczyk 2023-12-05 11:07:00 +01:00
parent 34a2a04b6b
commit a4cdc712a0
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
9 changed files with 72 additions and 63 deletions

View File

@ -55,8 +55,8 @@ services:
depends_on:
- caddy
networks:
- caddy
- public
public:
ipv4_address: 192.168.240.3
profiles:
- base
restart: unless-stopped
@ -72,7 +72,8 @@ services:
ports:
- "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.4
profiles:
- base
@ -90,7 +91,8 @@ services:
ports:
- "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.5
profiles:
- base
- infra
@ -111,7 +113,8 @@ services:
ports:
- "${AUDIOBOOKSHELF_EXTERNAL_PORT}:${AUDIOBOOKSHELF_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.6
profiles:
- disabled
restart: unless-stopped
@ -130,7 +133,8 @@ services:
ports:
- 8337:8337
networks:
- public
public:
ipv4_address: 192.168.240.7
profiles:
- base
restart: unless-stopped
@ -149,7 +153,8 @@ services:
ports:
- ${MEALIE_EXTERNAL_PORT}:${MEALIE_INTERNAL_PORT}
networks:
- public
public:
ipv4_address: 192.168.240.8
restart: unless-stopped
rtorrent:
@ -171,7 +176,8 @@ services:
- "8118:8118"
- "6881:6881"
networks:
- public
public:
ipv4_address: 192.168.240.9
profiles:
- base
restart: unless-stopped
@ -189,7 +195,8 @@ services:
ports:
- "${WEBHOOK_EXTERNAL_PORT}:${WEBHOOK_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.10
profiles:
- base
- infra
@ -208,7 +215,8 @@ services:
cap_add:
- SYS_NICE
networks:
- public
public:
ipv4_address: 192.168.240.11
profiles:
- disabled
restart: unless-stopped
@ -223,7 +231,8 @@ services:
- 26900-26902:26900-26902/udp
- 18500:8080
networks:
- public
public:
ipv4_address: 192.168.240.12
profiles:
- disabled
restart: unless-stopped
@ -264,7 +273,8 @@ services:
## Where to store binary blob data (scene covers, images)
- "${DOCKER_STORAGE_PATH}/stash/blobs:/blobs"
networks:
- public
public:
ipv4_address: 192.168.240.13
profiles:
- base
restart: unless-stopped
@ -281,7 +291,8 @@ services:
- "${DOCKER_STORAGE_PATH}/navidrome:/data"
- "${STORAGE_PATH}/media/music2:/music"
networks:
- public
public:
ipv4_address: 192.168.240.14
profiles:
- base
restart: unless-stopped
@ -297,7 +308,8 @@ services:
volumes:
- "${DOCKER_STORAGE_PATH}/maloja:/data"
networks:
- public
public:
ipv4_address: 192.168.240.15
profiles:
- base
restart: unless-stopped
@ -306,7 +318,8 @@ services:
container_name: redis
image: docker.io/library/redis:7
networks:
- redis
public:
ipv4_address: 192.168.240.30
restart: unless-stopped
volumes:
- "${DOCKER_STORAGE_PATH}/redis:/data"
@ -322,10 +335,8 @@ services:
ports:
- "${PAPERLESS_EXTERNAL_PORT}:${PAPERLESS_INTERNAL_PORT}"
networks:
- public
- redis
- tika
- gotenberg
public:
ipv4_address: 192.168.240.16
profiles:
- base
healthcheck:
@ -359,7 +370,8 @@ services:
image: docker.io/gotenberg/gotenberg:7.6
restart: unless-stopped
networks:
- gotenberg
public:
ipv4_address: 192.168.240.17
# The gotenberg chromium route is used to convert .eml files. We do not
# want to allow external content like tracking pixels or even javascript.
profiles:
@ -372,7 +384,8 @@ services:
tika:
image: ghcr.io/paperless-ngx/tika:latest
networks:
- tika
public:
ipv4_address: 192.168.240.18
profiles:
- base
restart: unless-stopped
@ -383,7 +396,8 @@ services:
ports:
- "${HOMER_EXTERNAL_PORT}:${HOMER_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.19
profiles:
- base
volumes:
@ -411,13 +425,15 @@ services:
profiles:
- base
networks:
- public
public:
ipv4_address: 192.168.240.20
mediawiki:
container_name: mediawiki
image: mediawiki
networks:
- public
public:
ipv4_address: 192.168.240.21
depends_on:
- mariadb
ports:
@ -434,8 +450,8 @@ services:
container_name: photoprism
image: docker.io/photoprism/photoprism
networks:
- mariadb
- public
public:
ipv4_address: 192.168.240.22
ports:
- "${PHOTOPRISM_EXTERNAL_PORT}:${PHOTOPRISM_INTERNAL_PORT}"
depends_on:
@ -454,8 +470,8 @@ services:
container_name: mariadb
image: linuxserver/mariadb
networks:
- mariadb
- public
public:
ipv4_address: 192.168.240.23
ports:
- "${MARIADB_EXTERNAL_PORT}:${MARIADB_INTERNAL_PORT}"
volumes:
@ -470,8 +486,8 @@ services:
container_name: baserow
image: baserow/baserow:latest
networks:
- public
- postgres
public:
ipv4_address: 192.168.240.24
depends_on:
- postgres
env_file:
@ -486,7 +502,8 @@ services:
container_name: postgres
image: postgres:latest
networks:
- postgres
public:
ipv4_address: 192.168.240.25
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
@ -498,9 +515,8 @@ services:
container_name: gitea
image: ${REGISTRY_URL}/gitea:latest
networks:
- public
- postgres
- gitea
public:
ipv4_address: 192.168.240.26
depends_on:
- postgres
ports:
@ -520,7 +536,8 @@ services:
- "${DOCKER_STORAGE_PATH}/gitearunner/data:/data"
- /var/run/docker.sock:/var/run/docker.sock
networks:
- gitea
public:
ipv4_address: 192.168.240.27
environment:
- GITEA_INSTANCE_URL=https://git.${DOMAIN}
- CONFIG_FILE=/config/config.yaml
@ -539,9 +556,8 @@ services:
image: linkace/linkace:simple
container_name: linkace
networks:
- public
- mariadb
- redis
public:
ipv4_address: 192.168.240.28
depends_on:
- mariadb
- redis
@ -582,7 +598,8 @@ services:
image: vaultwarden/server:latest
container_name: vaultwarden
networks:
- public
public:
ipv4_address: 192.168.240.29
ports:
- "${VAULTWARDEN_EXTERNAL_PORT}:${VAULTWARDEN_INTERNAL_PORT}"
environment:
@ -599,27 +616,12 @@ services:
networks:
caddy:
attachable: true
internal: true
redis:
internal: true
tika:
internal: true
gotenberg:
internal: true
public:
attachable: true
ipam:
config:
# 192.168.240.1 - 192.168.240.254
- subnet: "192.168.240.0/24"
postgres:
external: true
mariadb:
attachable: true
gitea:
external: false
volumes:
timetracker-static:

View File

@ -6,7 +6,8 @@ services:
ports:
- "${BAZARR_EXTERNAL_PORT}:${BAZARR_INTERNAL_PORT}"
networks:
- public
public:
ipv4_address: 192.168.240.31
volumes:
- "${DOCKER_STORAGE_PATH}/bazarr:/config"
- "${MOVIE_PATH}:/movies"

View File

@ -8,7 +8,8 @@ services:
- "1900:1900/udp"
- "7359:7359/udp"
networks:
- public
public:
ipv4_address: 192.168.240.32
volumes:
- "${DOCKER_STORAGE_PATH}/jellyfin:/config"
- "${MEDIA_PATH}:/data/media"

View File

@ -10,7 +10,8 @@ services:
- ${DOCKER_STORAGE_PATH}/jelu/files/imports:/files/imports
- /etc/timezone:/etc/timezone:ro
networks:
- public
public:
ipv4_address: 192.168.240.33
environment:
SERVER_PORT: 80
SPRING_DATASOURCE_USERNAME: lukas

View File

@ -6,7 +6,8 @@ services:
ports:
- "6080:25600"
networks:
- public
public:
ipv4_address: 192.168.240.34
volumes:
- "${DOCKER_STORAGE_PATH}/komga:/config"
- "${COMIC_PATH}:/data"

View File

@ -6,8 +6,8 @@ services:
ports:
- "8282:8080"
networks:
- public
- postgres
public:
ipv4_address: 192.168.240.35
environment:
- BASE_URL=https://miniflux.${DOMAIN}
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/miniflux?sslmode=disable

View File

@ -6,7 +6,8 @@ services:
ports:
- 7878:7878
networks:
- public
public:
ipv4_address: 192.168.240.36
volumes:
- "${DOCKER_STORAGE_PATH}/radarr:/config"
- "${NZB_DOWNLOADS_PATH}:/downloads"

View File

@ -26,7 +26,8 @@ services:
container_name: sonarr_anime
image: linuxserver/sonarr:develop
networks:
- public
public:
ipv4_address: 192.168.240.37
ports:
- "${SONARR_ANIME_EXTERNAL_PORT}:${SONARR_INTERNAL_PORT}"
environment:

View File

@ -7,7 +7,8 @@ services:
- "${DOCKER_STORAGE_PATH}/uptimekuma:/app/data"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
- public
public:
ipv4_address: 192.168.240.38
profiles:
- base
restart: unless-stopped