mirror of
https://github.com/R0m1k3/Apiflow-gateway.git
synced 2026-10-11 17:27:08 +02:00
Remove Caddy service and volumes, then integrate FRPS into an external Nginx network.
This commit is contained in:
1 parent
05802dd72f
commit
420da6a409
1 file changed
+7
-20
+7
-20
@@ -9,25 +9,12 @@ services:
|
||||
- ./frps.toml:/etc/frp/frps.toml:ro
|
||||
ports:
|
||||
- "7000:7000" # connexions frpc entrant depuis le magasin
|
||||
networks:
|
||||
- default
|
||||
- nginx_network
|
||||
restart: unless-stopped
|
||||
|
||||
# Reverse proxy HTTPS avec SSL automatique (Let's Encrypt)
|
||||
# Proxifie api.ffnancy.fr → tunnel frp → API du magasin
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
container_name: ff_caddy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
depends_on:
|
||||
- frps
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
networks:
|
||||
nginx_network:
|
||||
external: true
|
||||
name: nginx_default
|
||||
Reference in new issue
Block a user