simple Python app that conencts to db

This commit is contained in:
luptmoor
2026-02-25 18:19:22 +01:00
parent 8473d3d12c
commit 0e242801e7
4 changed files with 68 additions and 0 deletions

View File

@@ -13,6 +13,25 @@ services:
networks:
- backend
app:
build: .
container_name: geo-app
environment:
PYTHONUNBUFFERED: 1
POSTGRES_USER: ${GEODB_USER}
POSTGRES_PASSWORD: ${GEODB_PW}
POSTGRES_DB: ${GEODB_NAME}
POSTGRES_HOST: geo-db-postgis
depends_on:
- geo-db-postgis
networks:
- backend
volumes:
pgdata:
driver: local