modified: ../.env

modified:   ../docker-compose.yaml
specify the db service into db directory
This commit is contained in:
2025-07-30 21:52:24 +05:00
parent 1b1400daa1
commit afe7b27cce
+19
View File
@@ -0,0 +1,19 @@
services:
db:
image: postgres:16
container_name: db
env_file:
- .env
ports:
- "${PGPORT}:${PGPORT}"
volumes:
- postgres-db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${PGUSER}
- POSTGRES_PASSWORD=${PGPASSWORD}
- POSTGRES_DB=${PGDATABASE}
restart: unless-stopped
volumes:
postgres-db: