9d845c8899
- backend moved to backend directory - added and initialized frontend with vue - moved infrastructure files to infra directory
25 lines
580 B
YAML
25 lines
580 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
db:
|
|
build:
|
|
context: ..
|
|
dockerfile: infra/docker/postgres-pg-cron/Dockerfile
|
|
container_name: postgres
|
|
restart: always
|
|
command:
|
|
- postgres
|
|
- -c
|
|
- shared_preload_libraries=pg_cron
|
|
- -c
|
|
- cron.database_name=familyHubDB
|
|
environment:
|
|
POSTGRES_USER: familyUser
|
|
POSTGRES_PASSWORD: familyPass
|
|
POSTGRES_DB: familyHubDB
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ./volumes/postgres:/var/lib/postgresql/data
|
|
- ./docker/postgres-pg-cron/init:/docker-entrypoint-initdb.d
|