forked from DevOps/deploy.stack
feat(upload): modify memos & gitea version
This commit is contained in:
1
webout/env.cfg
Normal file
1
webout/env.cfg
Normal file
@@ -0,0 +1 @@
|
||||
IMAGE_TAG=hub.tp229.com:3500/caddy:2.8.4
|
||||
33
webout/webout.yaml
Normal file
33
webout/webout.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
# run:: docker compose -p out-caddy --env-file ./webout/env.cfg -f ./webout/webout.yaml up -d
|
||||
|
||||
services:
|
||||
web-out:
|
||||
image: ${IMAGE_TAG}
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- /data/configs/caddy/web-http.conf:/etc/caddy/Caddyfile
|
||||
ports:
|
||||
- '443:443'
|
||||
- '80:80'
|
||||
container_name: web-out
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
|
||||
tp229-out:
|
||||
image: ${IMAGE_TAG}
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- /data/configs/caddy/site-tp229.conf:/etc/caddy/Caddyfile
|
||||
- /data/www-root:/www-root
|
||||
- /data/soft:/var/www/soft
|
||||
container_name: tp229-out
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
Reference in New Issue
Block a user