Move reverse-proxy to jenkins, config upgrade
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:alpine
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
CADDY_VERSION: ${CADDY_VERSION}
|
||||
container_name: caddy-reverse-proxy
|
||||
restart: always
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./error.html:/srv/error.html:ro
|
||||
- /home/lucas/services/exposed_files/n8n/csv:/srv/csv:ro
|
||||
networks:
|
||||
- reverse-proxy
|
||||
@@ -14,10 +18,17 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
name: caddy_data
|
||||
caddy_config:
|
||||
name: caddy_config
|
||||
|
||||
networks:
|
||||
reverse-proxy:
|
||||
|
||||
Reference in New Issue
Block a user