Add db, sync movies command

This commit is contained in:
thibaud-leclere
2026-01-14 00:54:49 +01:00
parent e5d5fe4343
commit 5c35aff23b
11 changed files with 264 additions and 32 deletions

View File

@@ -6,7 +6,7 @@ services:
environment:
POSTGRES_DB: ${POSTGRES_DB:-app}
# You should definitely change the password in production
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-pwd}
POSTGRES_USER: ${POSTGRES_USER:-app}
healthcheck:
test: ["CMD", "pg_isready", "-d", "${POSTGRES_DB:-app}", "-U", "${POSTGRES_USER:-app}"]
@@ -17,6 +17,8 @@ services:
- database_data:/var/lib/postgresql/data:rw
# You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!
# - ./docker/db/data:/var/lib/postgresql/data:rw
ports:
- "0.0.0.0:5432:5432"
###< doctrine/doctrine-bundle ###
volumes: