don't expose insecure ports to the public (#1523)

* don't expose insecure ports to public

* don't expose insecure ports to public

Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
This commit is contained in:
fariszr 2021-07-19 00:52:26 +03:00 committed by GitHub
parent 31b0b0337e
commit c769eb86e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: