version: "3.9" name: "kycnotme_v2024" networks: caddy: external: true volumes: pb_data: {} pb_public: {} pb_migrations: {} services: crawler: container_name: kycnotme-crawler build: ./crawler website: container_name: kycnotme-website build: ./src networks: caddy: {} default: {} env_file: - .env labels: caddy: "${WEB_DOMAIN}" caddy.reverse_proxy: "{{upstreams 4488}}" pocketbase: build: context: . dockerfile: pocketbase.Dockerfile container_name: kycnotme-pocketbase restart: unless-stopped volumes: - pb_data:/pb/pb_data - pb_public:/pb/pb_public - pb_migrations:/pb/pb_migrations networks: caddy: {} default: aliases: - "pocketbase" - "database" labels: caddy: "${PB_DOMAIN}" caddy.reverse_proxy: "{{upstreams 8090}}" caddy.request_body.max_size: 10MB healthcheck: #optional (recommended) since v0.10.0 test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1 interval: 5s timeout: 5s retries: 5