Skip to content

Commit

Permalink
Merge pull request #19 from RimidalU/feat/backend
Browse files Browse the repository at this point in the history
add db to docker-compose.yml
  • Loading branch information
RimidalU authored May 2, 2024
2 parents d731ba7 + b4719c9 commit 2bb0334
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: "3"

services:
db:
image: postgres
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_USER=bookuser
- POSTGRES_PASSWORD=123
- POSTGRES_DB=bookswap
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data:

0 comments on commit 2bb0334

Please sign in to comment.