diff --git a/roles/mastodon/templates/docker-compose.yml.j2 b/roles/mastodon/templates/docker-compose.yml.j2 index 8fb6909..f39a730 100644 --- a/roles/mastodon/templates/docker-compose.yml.j2 +++ b/roles/mastodon/templates/docker-compose.yml.j2 @@ -42,9 +42,6 @@ services: healthcheck: # prettier-ignore test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1'] - ports: - - '0.0.0.0:3000:3000' - - '[::]:3000:3000' depends_on: - db - redis @@ -72,9 +69,6 @@ services: healthcheck: # prettier-ignore 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: - db - redis diff --git a/roles/seafile/templates/docker-compose.yml.j2 b/roles/seafile/templates/docker-compose.yml.j2 index fb1aada..6ace7f1 100644 --- a/roles/seafile/templates/docker-compose.yml.j2 +++ b/roles/seafile/templates/docker-compose.yml.j2 @@ -24,9 +24,6 @@ services: image: seafileltd/seafile-mc:9.0.10 container_name: seafile restart: always -# ports: -# - "81:80" -# - "443:443" # If https is enabled, cancel the comment. volumes: - {{ data_dir }}/data:/shared # Requested, specifies the path to Seafile data persistent store. environment: @@ -54,4 +51,4 @@ services: networks: traefik: - external: true \ No newline at end of file + external: true