examples icon indicating copy to clipboard operation
examples copied to clipboard

Issue when running from Docker-Compose

Open niklasden opened this issue 3 years ago • 1 comments

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: image

Best regards, Niklas

niklasden avatar Dec 01 '21 10:12 niklasden

Maybe this page is helpful.

hansmbakker avatar May 12 '22 20:05 hansmbakker