ajout d'un compose avec un service de bdd
This commit was merged in pull request #5.
This commit is contained in:
11
docker-dev/compose.yml
Normal file
11
docker-dev/compose.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
postgresql:
|
||||||
|
image: postgres:16
|
||||||
|
ports:
|
||||||
|
- "${DB_PORT:-5432}:5432"
|
||||||
|
volumes:
|
||||||
|
- ./data/postgres/:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
- POSTGRES_DB=${DB_DATABASE:-ludikZone}
|
||||||
|
- POSTGRES_USER=${DB_USER:-admin}
|
||||||
|
- POSTGRES_PASSWORD=${DB_PASSWORD:-admin}
|
||||||
Reference in New Issue
Block a user