Skip to content

Commit

Permalink
chore: add postgres to the development docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
AvilaAndre committed Feb 11, 2025
1 parent 129d1e1 commit 9faf973
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ services:
- valkey-data:/data
ports:
- "6379:6379"
postgres:
image: postgres:latest
ports:
- "${POSTGRES_PORT}:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}

volumes:
valkey-data:
valkey-data:
postgres-data:

0 comments on commit 9faf973

Please sign in to comment.