mirror of
https://github.com/Gouryella/drip.git
synced 2026-02-23 21:00:44 +00:00
36 lines
816 B
YAML
36 lines
816 B
YAML
services:
|
|
caddy:
|
|
image: slothcroissant/caddy-cloudflaredns:latest
|
|
container_name: drip-caddy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- caddy-data:/data
|
|
environment:
|
|
DOMAIN: ${DOMAIN}
|
|
ACME_EMAIL: ${ACME_EMAIL:-}
|
|
CF_API_TOKEN: ${CF_API_TOKEN}
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
mem_limit: 256m
|
|
mem_reservation: 64m
|
|
|
|
drip-server:
|
|
image: driptunnel/drip-server:${VERSION:-latest}
|
|
container_name: drip-server
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- ./config.yaml:/app/config.yaml:ro
|
|
environment:
|
|
GOMEMLIMIT: 256MiB
|
|
mem_limit: 512m
|
|
mem_reservation: 128m
|
|
|
|
volumes:
|
|
caddy-data:
|