Skip to content

Commit

Permalink
chore: create docker-compose file for development database
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed Jan 16, 2025
1 parent 924c487 commit 790596e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# PostgreSQL development database
services:
postgresql-dev:
container_name: postgresql-dev
image: postgres:latest
restart: unless-stopped
ports:
- "15432:5432/tcp"
environment:
- POSTGRES_DB=db-test
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./postgresql_volume:/var/lib/postgresql/data:rw,Z
stdin_open: true
tty: true
networks:
- postgres

volumes:
postgresql_volume:

networks:
postgres:
driver: bridge

0 comments on commit 790596e

Please sign in to comment.