remove open ports
This commit is contained in:
parent
19e407ad0e
commit
38777936c5
2 changed files with 1 additions and 10 deletions
|
@ -42,9 +42,6 @@ services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1']
|
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1']
|
||||||
ports:
|
|
||||||
- '0.0.0.0:3000:3000'
|
|
||||||
- '[::]:3000:3000'
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
@ -72,9 +69,6 @@ services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
||||||
ports:
|
|
||||||
- '0.0.0.0:4000:4000'
|
|
||||||
- '[::]:4000:4000'
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
|
|
@ -24,9 +24,6 @@ services:
|
||||||
image: seafileltd/seafile-mc:9.0.10
|
image: seafileltd/seafile-mc:9.0.10
|
||||||
container_name: seafile
|
container_name: seafile
|
||||||
restart: always
|
restart: always
|
||||||
# ports:
|
|
||||||
# - "81:80"
|
|
||||||
# - "443:443" # If https is enabled, cancel the comment.
|
|
||||||
volumes:
|
volumes:
|
||||||
- {{ data_dir }}/data:/shared # Requested, specifies the path to Seafile data persistent store.
|
- {{ data_dir }}/data:/shared # Requested, specifies the path to Seafile data persistent store.
|
||||||
environment:
|
environment:
|
||||||
|
@ -54,4 +51,4 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
|
Reference in a new issue