diff --git a/docker-compose.yml b/docker-compose.yml index 1f40072..67073e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,8 @@ services: - "80:80" - "443:443" volumes: - - ./Caddyfile:/etc/caddy/Caddyfile - - ./index.html:/srv/index.html + - ./web/Caddyfile:/etc/caddy/Caddyfile + - ./web/index.html:/srv/index.html environment: - DOMAIN=example.com # 修改为你的域名 restart: always diff --git a/Caddyfile b/web/Caddyfile similarity index 100% rename from Caddyfile rename to web/Caddyfile diff --git a/index.html b/web/index.html similarity index 100% rename from index.html rename to web/index.html