0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 03:06:08 +02:00

don't expose insecure ports to public

This commit is contained in:
Fariszr 2021-07-01 03:28:45 +03:00
parent 62a46a6c4d
commit 4bf4bd89f1
4 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ services:
image: nextcloud:apache
restart: always
ports:
- 8080:80
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html
environment:

View file

@ -34,7 +34,7 @@ services:
build: ./web
restart: always
ports:
- 8080:80
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on:

View file

@ -17,7 +17,7 @@ services:
image: nextcloud:apache
restart: always
ports:
- 8080:80
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html
environment:

View file

@ -31,7 +31,7 @@ services:
build: ./web
restart: always
ports:
- 8080:80
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on: