skip to Main Content

Custom Docker image on Git Lab Job cannot connect to localhost

I've created a very simple custom Docker image: FROM postgis/postgis:16-3.4-alpine ENV POSTGRES_USER=postgres ENV POSTGRES_PASSWORD=secret ENV POSTGRES_DB=lopost_test_db ENV PGDATA=/data/postgres ENV POSTGRES_HOST_AUTH_METHOD=trust Now I'm trying to run the following gitlab job test: image: $CI_REGISTRY_IMAGE/ci_test stage: test environment: name: Production script: - psql…

VIEW QUESTION
Back To Top
Search