Merge pull request #1183 from jivanpal/create-missing-database

docker-compose.yml: Add PostGIS envvar to create database on initial setup.
This commit is contained in:
Evgenii Burmakin 2025-05-20 19:48:07 +02:00 committed by GitHub
commit e4c5e9d7ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,7 @@ services:
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
POSTGRES_DB: dawarich_development
restart: always restart: always
healthcheck: healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres -d dawarich_development" ] test: [ "CMD-SHELL", "pg_isready -U postgres -d dawarich_development" ]