skip to Main Content

Docker Compose postgres db does not start – Debian

Hello for some reason my postgres keeps restarting basically this is my docker compose: version: "3.7" services: db: image: postgres:12 restart: always container_name: "db" ports: - "${DB_PORT}:5432" volumes: - ./pgdata:/var/lib/postgresql/data environment: POSTGRES_USER: ${DB_USER} POSTGRES_PASSWORD: ${DB_PASS} POSTGRES_DB: ${DB_NAME} api: image: server_emasa…

VIEW QUESTION
Back To Top
Search