You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
470 B
26 lines
470 B
2 years ago
|
version: '3.8'
|
||
|
services:
|
||
|
caddy:
|
||
|
image: mritd/caddy
|
||
|
container_name: caddy
|
||
|
restart: always
|
||
|
networks:
|
||
|
- caddynetwork
|
||
|
environment:
|
||
|
TZ: Asia/Shanghai
|
||
|
volumes:
|
||
|
# - /etc/localtime:/etc/localtime:ro
|
||
|
- ./conf:/etc/caddy
|
||
|
- config:/config
|
||
|
- data:/data
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
- "8300:8300"
|
||
|
- "443:443"
|
||
|
- "443:443/udp"
|
||
|
networks:
|
||
|
caddynetwork:
|
||
|
name: caddynetwork
|
||
|
volumes:
|
||
|
config:
|
||
|
data:
|