+ python projects nginx example config and postgis and additional python server docker examples

This commit is contained in:
WP Studio
2025-06-24 13:53:08 +03:00
parent 92cefd6fcd
commit 4c410fa89f
4 changed files with 56 additions and 0 deletions

View File

@ -9,6 +9,19 @@ services:
- ./hostfiles:/hostfiles
ports:
- "5432:5432"
db-project:
image: postgis/postgis:14-3.3
environment:
- POSTGRES_DB=project_db
- POSTGRES_USER=project_db_user
- POSTGRES_PASSWORD=project_db_password
ports:
- "5434:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
volumes:
databasepg: