From 62cca12bfde47c95394f979b2f70c6f615b5a754 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 14 Nov 2024 11:17:41 +0300 Subject: [PATCH] Ports removal from compose setup (#4) * disabled ports * cleaning --------- Co-authored-by: Pierre-Edouard Barrault --- docker-compose.monitoring.yml | 4 ---- docker-compose.yml | 9 +-------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/docker-compose.monitoring.yml b/docker-compose.monitoring.yml index 2a6b199..0594a69 100644 --- a/docker-compose.monitoring.yml +++ b/docker-compose.monitoring.yml @@ -11,8 +11,6 @@ services: environment: CELERY_BROKER_URL: "${CELERY_BROKER_URL}" CELERY_RESULT_BACKEND: "${CELERY_RESULT_BACKEND}" - ports: - - "49555:5555" depends_on: - celery networks: @@ -30,8 +28,6 @@ services: - ./setup/pgadmin/servers.json:/pgadmin4/servers.json depends_on: - db - ports: - - "5050:80" networks: brif-network: ipv4_address: 172.20.0.112 diff --git a/docker-compose.yml b/docker-compose.yml index 6e65d8f..4145ab4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,8 +66,6 @@ services: command: uvicorn main:app --host 0.0.0.0 --reload depends_on: - api_test - ports: - - "${APP_PORT}:${APP_PORT}" networks: brif-network: ipv4_address: 172.20.0.102 @@ -84,11 +82,9 @@ services: restart: always volumes: - ${LOGS_DIR}/cantaloupe:/cantaloupe/logs - # CHANGE WITH CAUTION the next mount as it is tied to cantaloupe/properties + # CHANGE WITH CAUTION the mount below as it is tied to cantaloupe/properties # via FilesystemSource.BasicLookupStrategy.path_prefix - ${CONTENT_DIR}:/mnt/directories - ports: - - "${CANTALOUPE_PORT}" networks: brif-network: ipv4_address: 172.20.0.103 @@ -114,9 +110,6 @@ services: container_name: brif_rabbitmq image: rabbitmq:3.8-management restart: on-failure - ports: - - "5672:5672" - - "15672:15672" volumes: - ${LOGS_DIR}/rabbitmq:/var/log/rabbitmq - brif_vrabbitmq:/var/lib/rabbitmq