Skip to content

Commit

Permalink
Update network
Browse files Browse the repository at this point in the history
  • Loading branch information
kimachinskiy committed Sep 20, 2023
1 parent d2e9c53 commit 37f21f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docker-compose.db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -31,8 +31,8 @@ services:
frontend:
container_name: frontend
image: frontend
ports:
- 3000:3000
# ports:
# - 3000:3000
build:
context: ./FrontEnd
target: production
Expand Down

0 comments on commit 37f21f4

Please sign in to comment.