From ea035b9fbe3c586fcdb3e5272dc22d0a29dc63a4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 4 Feb 2022 17:37:08 -0800 Subject: [PATCH] Don't expose unnecessary ports --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0f4e90e37..fa28dbee6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,7 @@ services: networks: - main ports: - - 8000:8000 + - 8000 redis_activity: image: redis command: redis-server --requirepass ${REDIS_ACTIVITY_PASSWORD} --appendonly yes --port ${REDIS_ACTIVITY_PORT} @@ -51,7 +51,7 @@ services: command: redis-server --requirepass ${REDIS_BROKER_PASSWORD} --appendonly yes --port ${REDIS_BROKER_PORT} env_file: .env ports: - - 6379:6379 + - 6379 networks: - main restart: on-failure @@ -74,10 +74,10 @@ services: restart: on-failure flower: build: . - command: celery -A celerywyrm flower + command: celery -A celerywyrm flower --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD} env_file: .env ports: - - ${FLOWER_PORT}:${FLOWER_PORT} + - ${FLOWER_PORT} volumes: - .:/app networks: