networks and network_mode service level conflict
This commit is contained in:
parent
41f6ade6c2
commit
c30423da60
@ -5,7 +5,6 @@ services:
|
|||||||
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
hostname: db
|
hostname: db
|
||||||
network_mode: slirp4netns
|
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- db:/var/lib/postgresql/data:Z
|
||||||
@ -21,7 +20,6 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
hostname: app
|
hostname: app
|
||||||
network_mode: slirp4netns
|
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z
|
- nextcloud:/var/www/html:z
|
||||||
@ -41,7 +39,6 @@ services:
|
|||||||
web:
|
web:
|
||||||
image: nginx:alpine-slim
|
image: nginx:alpine-slim
|
||||||
hostname: web
|
hostname: web
|
||||||
network_mode: slirp4netns
|
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
||||||
@ -61,7 +58,6 @@ services:
|
|||||||
cron:
|
cron:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
hostname: cron
|
hostname: cron
|
||||||
network_mode: slirp4netns
|
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z
|
- nextcloud:/var/www/html:z
|
||||||
@ -77,7 +73,6 @@ services:
|
|||||||
proxy:
|
proxy:
|
||||||
build: ./proxy
|
build: ./proxy
|
||||||
hostname: proxy
|
hostname: proxy
|
||||||
network_mode: slirp4netns
|
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
@ -100,3 +95,4 @@ volumes:
|
|||||||
networks:
|
networks:
|
||||||
podman:
|
podman:
|
||||||
proxy-tier:
|
proxy-tier:
|
||||||
|
network_mode: slirp4netns
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user