name: pgadmin secrets: pgadmin_default_password: file: ${SECRETSDIR}/pgadmin_default_password pgadmin_default_email: file: ${SECRETSDIR}/pgadmin_default_email networks: traefik-net: external: true postgres-net: external: true authentik-net: external: true fireflyiii-net: external: true vaultwarden-net: external: true services: pgadmin: image: dpage/pgadmin4 env_file: .pgadmin.env hostname: pgadmin networks: - traefik-net - postgres-net - authentik-net - fireflyiii-net - vaultwarden-net restart: unless-stopped volumes: - "${DATADIR}/config:/var/lib/pgadmin" secrets: - pgadmin_default_password - pgadmin_default_email labels: - traefik.enable=true - traefik.docker.network=traefik-net # - "traefik.http.services.${APPLICATION_NAME}-svc.loadbalancer.server.port=${WEBUI_PORT}" # - "traefik.http.routers.${APPLICATION_NAME}-rtr.entrypoints=web" - "traefik.http.routers.${APPLICATION_NAME}-rtr.rule=Host(`${APPLICATION_NAME}.${DOMAINNAME}`)&& PathPrefix(`/`)" - "traefik.http.routers.${APPLICATION_NAME}-rtr.middlewares=http-mw-rateLimit-secureHeaders-compress-redirect@file" - "traefik.http.routers.${APPLICATION_NAME}-rtr.service=${APPLICATION_NAME}-svc" # - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.entrypoints=websecure" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.rule=Host(`${APPLICATION_NAME}.${DOMAINNAME}`)&& PathPrefix(`/`)" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.middlewares=http-mw-rateLimit-secureHeaders-compress@file" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.tls=true" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.tls.options=tls-options@file" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.tls.certresolver=solver-dns" - "traefik.http.routers.${APPLICATION_NAME}-secure-rtr.service=${APPLICATION_NAME}-svc"