mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-05 20:36:08 +02:00
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:
parent
31b0b0337e
commit
c769eb86e1
4 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ services:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -34,7 +34,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
image: nextcloud:apache
|
image: nextcloud:apache
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -31,7 +31,7 @@ services:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Add table
Reference in a new issue