Configure SQLite or PostgreSQL database for Pangolin
fosrl/pangolin:<version>
fosrl/pangolin:postgresql-<version>
postgres: connection_string: postgresql://<user>:<password>@<host>:<port>/<database>
name: pangolin services: pangolin: image: fosrl/pangolin:postgresql-latest # Don't use latest in production container_name: pangolin restart: unless-stopped depends_on: postgres: condition: service_healthy volumes: - ./config:/app/config healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"] interval: "10s" timeout: "10s" retries: 15 # ... other services ... postgres: image: postgres:17 container_name: postgres restart: unless-stopped environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres volumes: - ./config/postgres:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5
latest
Was this page helpful?