networks and network_mode service level conflict

This commit is contained in:
Mike Holloway 2025-12-06 21:47:33 -05:00
parent 41f6ade6c2
commit c30423da60

View File

@ -5,7 +5,6 @@ services:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: postgres:alpine
hostname: db
network_mode: slirp4netns
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
@ -21,7 +20,6 @@ services:
app:
image: nextcloud:fpm-alpine
hostname: app
network_mode: slirp4netns
restart: always
volumes:
- nextcloud:/var/www/html:z
@ -41,7 +39,6 @@ services:
web:
image: nginx:alpine-slim
hostname: web
network_mode: slirp4netns
restart: always
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
@ -61,7 +58,6 @@ services:
cron:
image: nextcloud:fpm-alpine
hostname: cron
network_mode: slirp4netns
restart: always
volumes:
- nextcloud:/var/www/html:z
@ -77,7 +73,6 @@ services:
proxy:
build: ./proxy
hostname: proxy
network_mode: slirp4netns
restart: always
ports:
- 8080:80
@ -100,3 +95,4 @@ volumes:
networks:
podman:
proxy-tier:
network_mode: slirp4netns