mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
You'll need to add a .env file to the same directory as the docker-compose.yml file that sets the values for DB_USER and DB_PASS.
14 lines
370 B
YAML
14 lines
370 B
YAML
version: "3.7"
|
|
services:
|
|
db:
|
|
image: postgres
|
|
volumes:
|
|
- ./pg-init-scripts/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh
|
|
- $HOME/docker/volumes/postgres:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
- POSTGRES_USER=${DB_USER}
|
|
- POSTGRES_PASSWORD=${DB_PASS}
|
|
- POSTGRES_MULTIPLE_DATABASES=crc_dev,crc_test
|