Auto reload caddy and add basicauth example (#1706)

* add live reload and basicauth
This commit is contained in:
ahkui
2018-08-26 16:02:55 +08:00
committed by Shao Yu-Lung (Allen)
parent aa84dd8616
commit 947a791ad2
5 changed files with 13 additions and 5 deletions

View File

@ -471,7 +471,7 @@ services:
build: ./caddy
volumes:
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
- ${CADDY_CUSTOM_CADDYFILE}:/etc/Caddyfile
- ${CADDY_CONFIG_PATH}:/etc/caddy
- ${CADDY_HOST_LOG_PATH}:/var/log/caddy
- ${DATA_PATH_HOST}:/root/.caddy
ports: