Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- services:
- frontend:
- image: ghcr.io/yusing/go-proxy-frontend
- container_name: godoxy-frontend
- restart: unless-stopped
- env_file: stack.env
- depends_on:
- - app
- # modify below to fit your needs
- labels:
- com.centurylinklabs.watchtower.enable: "true"
- proxy.aliases: godoxy
- proxy.godoxy.port: 3000
- # proxy.godoxy.middlewares.cidr_whitelist: |
- # status: 403
- # message: IP not allowed
- # allow:
- # - 127.0.0.1
- # - 10.0.0.0/8
- # - 192.168.0.0/16
- # - 172.16.0.0/12
- app:
- image: ghcr.io/yusing/go-proxy
- container_name: godoxy
- restart: always
- env_file: stack.env
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - ${GO_PROXY_PATH}/config:/app/config
- - ${GO_PROXY_PATH}/logs:/app/logs
- - ${GO_PROXY_PATH}/error_pages:/app/error_pages
- - ${GO_PROXY_PATH}/certs:/app/certs
- networks:
- - default
- - proxy
- labels:
- com.centurylinklabs.watchtower.enable: "true"
- tunnel:
- container_name: cloudflared-tunnel
- image: cloudflare/cloudflared
- restart: unless-stopped
- command: tunnel run
- environment:
- - TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
- labels:
- com.centurylinklabs.watchtower.enable: "true"
- networks:
- default:
- proxy:
- name: proxy_network
- external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement