Fix exposing Docker Compose ports to broadcast addr (#4805)

This commit is contained in:
aecsocket
2025-11-21 11:13:11 +00:00
committed by GitHub
parent e59664426b
commit 130c2863ab

View File

@@ -6,7 +6,7 @@ services:
volumes: volumes:
- db-data:/var/lib/postgresql/data - db-data:/var/lib/postgresql/data
ports: ports:
- '5432:5432' - '127.0.0.1:5432:5432'
environment: environment:
POSTGRES_USER: labrinth POSTGRES_USER: labrinth
POSTGRES_PASSWORD: labrinth POSTGRES_PASSWORD: labrinth
@@ -21,7 +21,7 @@ services:
container_name: labrinth-meilisearch container_name: labrinth-meilisearch
restart: on-failure restart: on-failure
ports: ports:
- '7700:7700' - '127.0.0.1:7700:7700'
volumes: volumes:
- meilisearch-data:/data.ms - meilisearch-data:/data.ms
environment: environment:
@@ -37,7 +37,7 @@ services:
container_name: labrinth-redis container_name: labrinth-redis
restart: on-failure restart: on-failure
ports: ports:
- '6379:6379' - '127.0.0.1:6379:6379'
volumes: volumes:
- redis-data:/data - redis-data:/data
healthcheck: healthcheck:
@@ -49,7 +49,7 @@ services:
image: clickhouse/clickhouse-server image: clickhouse/clickhouse-server
container_name: labrinth-clickhouse container_name: labrinth-clickhouse
ports: ports:
- '8123:8123' - '127.0.0.1:8123:8123'
environment: environment:
CLICKHOUSE_USER: default CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: default CLICKHOUSE_PASSWORD: default
@@ -62,8 +62,8 @@ services:
image: axllent/mailpit:v1.27 image: axllent/mailpit:v1.27
container_name: labrinth-mail container_name: labrinth-mail
ports: ports:
- '1025:1025' - '127.0.0.1:1025:1025'
- '8025:8025' - '127.0.0.1:8025:8025'
environment: environment:
MP_ENABLE_SPAMASSASSIN: postmark MP_ENABLE_SPAMASSASSIN: postmark
healthcheck: healthcheck:
@@ -82,7 +82,7 @@ services:
image: gotenberg/gotenberg:8 image: gotenberg/gotenberg:8
container_name: labrinth-gotenberg container_name: labrinth-gotenberg
ports: ports:
- '13000:3000' - '127.0.0.1:13000:3000'
extra_hosts: extra_hosts:
# Gotenberg must send a message on a webhook to our backend, # Gotenberg must send a message on a webhook to our backend,
# so it must have access to our local network # so it must have access to our local network
@@ -95,7 +95,7 @@ services:
dockerfile: ./apps/labrinth/Dockerfile dockerfile: ./apps/labrinth/Dockerfile
container_name: labrinth container_name: labrinth
ports: ports:
- '8000:8000' - '127.0.0.1:8000:8000'
env_file: ./apps/labrinth/.env.docker-compose env_file: ./apps/labrinth/.env.docker-compose
volumes: volumes:
- labrinth-cdn-data:/tmp/modrinth - labrinth-cdn-data:/tmp/modrinth