Improved caddy support to latest ENV-config.
This commit is contained in:
parent
264bec8806
commit
4661f1ab0e
@ -399,16 +399,15 @@ services:
|
|||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
build: ./caddy
|
build: ./caddy
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
- "443:443"
|
|
||||||
- "2015:2015"
|
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
volumes:
|
volumes:
|
||||||
- ./caddy/Caddyfile:/etc/Caddyfile
|
- ${CADDY_CUSTOM_CADDYFILE}:/etc/Caddyfile
|
||||||
- ./logs/caddy:/var/log/caddy
|
- ${CADDY_HOST_LOG_PATH}:/var/log/caddy
|
||||||
- caddy:/root/.caddy
|
- ${DATA_SAVE_PATH}:/root/.caddy
|
||||||
|
ports:
|
||||||
|
- "${CADDY_HOST_HTTP_PORT}:80"
|
||||||
|
- "${CADDY_HOST_HTTPS_PORT}:443"
|
||||||
depends_on:
|
depends_on:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
networks:
|
networks:
|
||||||
|
@ -215,6 +215,12 @@ BLACKFIRE_CLIENT_TOKEN=<client_token>
|
|||||||
BLACKFIRE_SERVER_ID=<server_id>
|
BLACKFIRE_SERVER_ID=<server_id>
|
||||||
BLACKFIRE_SERVER_TOKEN=<server_token>
|
BLACKFIRE_SERVER_TOKEN=<server_token>
|
||||||
|
|
||||||
|
### CADDY ##############################################################################################################
|
||||||
|
|
||||||
|
CADDY_HOST_HTTP_PORT=80
|
||||||
|
CADDY_HOST_HTTPS_PORT=443
|
||||||
|
CADDY_HOST_LOG_PATH=./logs/caddy
|
||||||
|
CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
|
||||||
|
|
||||||
##### TO BE CONTINUE .................................
|
##### TO BE CONTINUE .................................
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user