up(webout): add txc stack
This commit is contained in:
parent
ef1aefbfae
commit
09d0fff5aa
10
webout/configs/caddy/txc-proxy.conf
Normal file
10
webout/configs/caddy/txc-proxy.conf
Normal file
@ -0,0 +1,10 @@
|
||||
https://48474.site {
|
||||
tls moqiruyi@gmail.com
|
||||
root * /www-root/site.tp229.com/public
|
||||
file_server
|
||||
encode zstd gzip
|
||||
}
|
||||
|
||||
https://www.48474.site {
|
||||
redir https://48474.site permanent
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
#IMAGE_TAG=hub.tp229.com:3500/caddy:2.8.4
|
||||
IMAGE_TAG=caddy:2.9.1
|
||||
BUILD_IMAGE_TAG=caddy:2.9.1-builder
|
||||
BUILD_IMAGE_TAG=caddy:2.9.1-builder
|
||||
TXC_DEPLOY_ROOT=/data/deploy.stack
|
||||
TXC_VOLUMES_ROOT=/data/volumes
|
17
webout/txc-webout.yml
Normal file
17
webout/txc-webout.yml
Normal file
@ -0,0 +1,17 @@
|
||||
# run:: docker compose -p out-caddy --env-file ./webout/env.cfg -f ./webout/txc-webout.yml up -d
|
||||
|
||||
services:
|
||||
web-out:
|
||||
image: ${IMAGE_TAG}
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- ${TXC_DEPLOY_ROOT}/webout/configs/caddy/txc-proxy.conf:/etc/caddy/Caddyfile
|
||||
- ${TXC_VOLUMES_ROOT}/web-root:/www-root
|
||||
ports:
|
||||
- '443:443'
|
||||
- '80:80'
|
||||
container_name: web-out
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
Loading…
x
Reference in New Issue
Block a user