examples
examples copied to clipboard
Issue when running from Docker-Compose
Hi there,
I am running your docker image runs from the just file, which works really good. Now I have tried running from a docker-compose file, including a postgres db. But the Container fails after startup, can you point me in any direction as to what I am doing wrong?
Compose File: ` delta-lake:
container_name: delta-lake
build: .
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_HOST=host.docker.internal
- POSTGRES_PORT=5432
- POSTGRES_DB_NAME=police-data
- TABLE_NAME=test
#depends_on:
# postgres:
# condition: service_healthy
image: delta-lake:latest
networks:
- postgres
volumes:
- type: bind
source: .
target: /opt/application
`
Fails with this:
Best regards, Niklas
Maybe this page is helpful.