Add db, sync movies command
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user