remove open ports

This commit is contained in:
Pim Kunis 2023-01-14 20:13:07 +01:00
parent 19e407ad0e
commit 38777936c5
2 changed files with 1 additions and 10 deletions

View file

@ -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

View file

@ -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