add database container to docker-compose.yaml
This commit is contained in:
parent
2fcb8aa276
commit
a5c5c1850d
|
@ -12,3 +12,13 @@ services:
|
||||||
- "12402:12402"
|
- "12402:12402"
|
||||||
volumes:
|
volumes:
|
||||||
- ./app:/app/app
|
- ./app:/app/app
|
||||||
|
env_file:
|
||||||
|
- db.env
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
db:
|
||||||
|
restart: unless-stopped
|
||||||
|
image: postgres:17.2-alpine3.21
|
||||||
|
env_file:
|
||||||
|
- db.env
|
||||||
|
|
Loading…
Reference in New Issue