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