--- services: app: depends_on: postgres: condition: service_healthy image: docuseal/docuseal:latest ports: - 3000:3000 volumes: - ./data:/data environment: # - FORCE_SSL=${HOST} - DATABASE_URL=postgresql://postgres:tUUczQzCGy2pEWGawCUfhjihDkFwvwVNMs@postgres:5432/docuseal labels: - "traefik.http.routers.docuseal.rule=Host(`docuseal.lan.ddnsgeek.com`)" - "traefik.enable=true" - "traefik.http.routers.docuseal.entrypoints=websecure" - "traefik.http.routers.docuseal.tls.certresolver=myresolver" - "io.portainer.accesscontrol.public" - "traefik.http.routers.docuseal.middlewares=error-pages-middleware" networks: - traefik_default restart: always postgres: image: postgres:15 volumes: - './data/database:/var/lib/postgresql/data' environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: tUUczQzCGy2pEWGawCUfhjihDkFwvwVNMs POSTGRES_DB: docuseal healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 5 networks: - traefik_default restart: always networks: traefik_default: external: true