mirror of
https://github.com/Gouryella/drip.git
synced 2026-02-24 05:10:43 +00:00
Added predefined tunnel functionality, allowing users to define multiple tunnels in the configuration file and start them by name, including the following improvements: - Added --all flag to start all configured tunnels - Added parameterless start command to list available tunnels - Support configuration of multiple tunnel types (http, https, tcp) - Support advanced configurations such as subdomains, transport protocols, and IP allowlists refactor(deployments): Refactor Docker deployment configuration Removed old Dockerfile and Compose configurations, added new deployment files: - Removed .env.example and old Docker build files - Added Caddy reverse proxy configuration file - Added two deployment modes: standard and Caddy reverse proxy - Added detailed server configuration example files docs: Update documentation to include tunnel configuration and deployment guide Updated Chinese and English README documents: - Added usage instructions and configuration examples for predefined tunnels - Expanded server deployment section to include direct TLS and reverse proxy modes - Added server configuration reference table with detailed configuration item descriptions - Added specific configuration methods for Caddy and Nginx reverse proxies
29 lines
644 B
YAML
29 lines
644 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}
|
|
|
|
drip-server:
|
|
image: driptunnel/drip-server:${VERSION:-latest}
|
|
container_name: drip-server
|
|
restart: unless-stopped
|
|
ports:
|
|
- "20000-20100:20000-20100"
|
|
volumes:
|
|
- ./config.yaml:/app/config.yaml:ro
|
|
|
|
volumes:
|
|
caddy-data:
|