From 37f21f45abfbc3c551f78877e014e3e71c33ccc9 Mon Sep 17 00:00:00 2001 From: kimachinkiy <48508661+kimachinskiy@users.noreply.github.com> Date: Thu, 21 Sep 2023 01:33:47 +0300 Subject: [PATCH] Update network --- docker-compose.db.yml | 9 +++++---- docker-compose.dev.yml | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docker-compose.db.yml b/docker-compose.db.yml index 8316b97d7..33777eeb2 100644 --- a/docker-compose.db.yml +++ b/docker-compose.db.yml @@ -9,8 +9,8 @@ services: - ./configs/postgres:/docker-entrypoint-initdb.d - db_data:/var/lib/postgresql/data - ports: - - 5432:5432 + # ports: + # - 5432:5432 networks: - forum_network environment: @@ -20,9 +20,10 @@ services: pgadmin: image: dpage/pgadmin4 + container_name: pgadmin restart: always - ports: - - 5050:80 + # ports: + # - 5050:80 environment: PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL} PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD} diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 263ab5837..28304e2e8 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -8,8 +8,8 @@ services: command: python manage.py runserver 0.0.0.0:8000 volumes: - ./:/Forum - ports: - - 8000:8000 + # ports: + # - 8000:8000 environment: - DEBUG=${DEBUG} - SECRET_KEY=${SECRET_KEY} @@ -31,8 +31,8 @@ services: frontend: container_name: frontend image: frontend - ports: - - 3000:3000 + # ports: + # - 3000:3000 build: context: ./FrontEnd target: production