services: # Backend Service (Node.js App) backend: image: mrunknownde/utools-backend container_name: utools_backend restart: unless-stopped environment: NODE_ENV: production PORT: 3000 LOG_LEVEL: info PING_COUNT: 4 SENTRY_DSN: "https://7ea70caba68f548fb96482a573006a7b@o447623.ingest.us.sentry.io/4509062020333568" # ASN Cache directory (filesystem persistence across restarts) ASN_CACHE_DIR: /app/asn-cache volumes: # Persistent ASN lookup cache — survives container restarts - asn_cache:/app/asn-cache dns: - 1.1.1.1 - 1.0.0.1 - 8.8.8.8 - 8.8.4.4 networks: - utools_network # Frontend Service (Nginx) frontend: image: mrunknownde/utools-frontend container_name: utools_frontend restart: unless-stopped ports: - "8080:80" depends_on: - backend networks: - utools_network networks: utools_network: driver: bridge # Named volume — ASN cache persists across container restarts volumes: asn_cache: driver: local