version: "3.7" services: app_proxy: environment: APP_HOST: public-pool_proxy_1 APP_PORT: 80 PROXY_AUTH_WHITELIST: "/api/*" web: image: ghcr.io/benjamin-wilson/public-pool-ui:5f730f4@sha256:c1eaae042ee179eca87b273c04c54c8b1fba5ceb63a03411a21ec8ac6875be3d restart: on-failure stop_grace_period: 30s environment: - DOMAIN=$DEVICE_DOMAIN_NAME # Intentionally empty so the UI uses same-origin /api routes via Umbrel's proxy. - PUBLIC_POOL_API_URL= - PUBLIC_POOL_STRATUM_URL=${DEVICE_DOMAIN_NAME}:2018 server: image: ghcr.io/benjamin-wilson/public-pool:95565ee@sha256:3edffef3bbad23cbd46098904b22ba8a1c14c679ae90cf1e4d97ed98492bbab4 restart: on-failure stop_grace_period: 30s ports: - "2018:2018/tcp" volumes: - "${APP_DATA_DIR}/data/database:/public-pool/DB" environment: - NODE_ENV=production - BITCOIN_RPC_URL=http://${APP_BITCOIN_NODE_IP} - BITCOIN_RPC_USER=${APP_BITCOIN_RPC_USER} - BITCOIN_RPC_PASSWORD=${APP_BITCOIN_RPC_PASS} - BITCOIN_RPC_PORT=${APP_BITCOIN_RPC_PORT} - BITCOIN_RPC_TIMEOUT=10000 - API_PORT=2019 - STRATUM_PORT=2018 - NETWORK=mainnet - API_SECURE=false - ENABLE_SOLO=true - ENABLE_PROXY=false - POOL_IDENTIFIER="Public Pool on Umbrel" proxy: image: nginx:1.30.7-alpine@sha256:bef154735288bc38d99fac41ae63730684bcc661503673a04a0f9bc526ba8598 volumes: - ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/conf.d/default.conf:ro depends_on: - web - server restart: on-failure widget-server: image: ghcr.io/getumbrel/umbrel-public-pool-widget:v1.0.1@sha256:a4bd771225594b0118c19345223a1dda9cca26e80a6853f7cccc3be1a835cdfe user: "1000:1000" environment: - PUBLIC_POOL_API_URL=http://public-pool_proxy_1/api/pool restart: on-failure