Skip to content

Commit

Permalink
update docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
blade committed Mar 27, 2024
1 parent e0d2e63 commit f55999b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ services:
- "${HTTP_SERVER_PORT}:${HTTP_SERVER_PORT}"
env_file:
- ./.env
networks:
- bridged_network

postgres:
image: postgres:latest
Expand All @@ -17,9 +19,15 @@ services:
POSTGRES_USER: myuser
POSTGRES_PASSWORD: mypassword
ports:
- "5432:5432"
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- bridged_network

volumes:
postgres_data:
postgres_data:

networks:
bridged_network:
driver: bridge

0 comments on commit f55999b

Please sign in to comment.