File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -399,16 +399,15 @@ services:
399399
400400 caddy :
401401 build : ./caddy
402- ports :
403- - " 80:80"
404- - " 443:443"
405- - " 2015:2015"
406402 volumes_from :
407403 - applications
408404 volumes :
409- - ./caddy/Caddyfile:/etc/Caddyfile
410- - ./logs/caddy:/var/log/caddy
411- - caddy:/root/.caddy
405+ - ${CADDY_CUSTOM_CADDYFILE}:/etc/Caddyfile
406+ - ${CADDY_HOST_LOG_PATH}:/var/log/caddy
407+ - ${DATA_SAVE_PATH}:/root/.caddy
408+ ports :
409+ - " ${CADDY_HOST_HTTP_PORT}:80"
410+ - " ${CADDY_HOST_HTTPS_PORT}:443"
412411 depends_on :
413412 - php-fpm
414413 networks :
Original file line number Diff line number Diff line change @@ -215,6 +215,12 @@ BLACKFIRE_CLIENT_TOKEN=<client_token>
215215BLACKFIRE_SERVER_ID=<server_id>
216216BLACKFIRE_SERVER_TOKEN=<server_token>
217217
218+ ### CADDY ##############################################################################################################
219+
220+ CADDY_HOST_HTTP_PORT=80
221+ CADDY_HOST_HTTPS_PORT=443
222+ CADDY_HOST_LOG_PATH=./logs/caddy
223+ CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
218224
219225##### TO BE CONTINUE .................................
220226
You can’t perform that action at this time.
0 commit comments