simple Python app that conencts to db
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user