mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 21:57:47 +00:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
af98125279
@ -204,6 +204,7 @@ services:
|
|||||||
ipv4_address: 172.16.238.242
|
ipv4_address: 172.16.238.242
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TIMEZONE:-UTC}
|
- TZ=${TIMEZONE:-UTC}
|
||||||
|
- ELASTICSEARCH_HOSTS=http://elastic:9200
|
||||||
- ELASTICSEARCH_URL=http://elastic:9200
|
- ELASTICSEARCH_URL=http://elastic:9200
|
||||||
depends_on:
|
depends_on:
|
||||||
- elastic
|
- elastic
|
||||||
|
@ -53,6 +53,7 @@ services:
|
|||||||
ipv4_address: 172.16.238.242
|
ipv4_address: 172.16.238.242
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TIMEZONE:-UTC}
|
- TZ=${TIMEZONE:-UTC}
|
||||||
|
- ELASTICSEARCH_HOSTS=http://elastic:9200
|
||||||
- ELASTICSEARCH_URL=http://elastic:9200
|
- ELASTICSEARCH_URL=http://elastic:9200
|
||||||
depends_on:
|
depends_on:
|
||||||
- elastic
|
- elastic
|
||||||
|
@ -105,7 +105,7 @@ Varnish
|
|||||||
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
||||||
| ``VARNISH_CONFIG`` | ``/etc/varnish/default.vcl`` | Path to Varnish configuration file (custom config can be mounted). |
|
| ``VARNISH_CONFIG`` | ``/etc/varnish/default.vcl`` | Path to Varnish configuration file (custom config can be mounted). |
|
||||||
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
||||||
| ``VARNICS_CACHE_SIZE`` | ``128m`` | Varnish Cache size. |
|
| ``VARNISH_CACHE_SIZE`` | ``128m`` | Varnish Cache size. |
|
||||||
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
||||||
| ``VARNISH_PARAMS`` | ``-p default_ttl=3600 -p default_grace=3600`` | Additional Varnish startup parameter. |
|
| ``VARNISH_PARAMS`` | ``-p default_ttl=3600 -p default_grace=3600`` | Additional Varnish startup parameter. |
|
||||||
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
+------------------------------+-----------------------------------------------+--------------------------------------------------------------------+
|
||||||
@ -158,7 +158,7 @@ Add the following variables to ``.env`` and adjust them to your needs:
|
|||||||
|
|
||||||
# Varnish settings
|
# Varnish settings
|
||||||
VARNISH_CONFIG=/etc/varnish/default.vcl
|
VARNISH_CONFIG=/etc/varnish/default.vcl
|
||||||
VARNICS_CACHE_SIZE=128m
|
VARNISH_CACHE_SIZE=128m
|
||||||
VARNISH_PARAMS=-p default_ttl=3600 -p default_grace=3600
|
VARNISH_PARAMS=-p default_ttl=3600 -p default_grace=3600
|
||||||
HOST_PORT_VARNISH=6081
|
HOST_PORT_VARNISH=6081
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ directory:
|
|||||||
echo "VARNISH_SERVER=6" >> .env
|
echo "VARNISH_SERVER=6" >> .env
|
||||||
echo "# Varnish settings" >> .env
|
echo "# Varnish settings" >> .env
|
||||||
echo "VARNISH_CONFIG=/etc/varnish/default.vcl" >> .env
|
echo "VARNISH_CONFIG=/etc/varnish/default.vcl" >> .env
|
||||||
echo "VARNICS_CACHE_SIZE=128m" >> .env
|
echo "VARNISH_CACHE_SIZE=128m" >> .env
|
||||||
echo "VARNISH_PARAMS=-p default_ttl=3600 -p default_grace=3600" >> .env
|
echo "VARNISH_PARAMS=-p default_ttl=3600 -p default_grace=3600" >> .env
|
||||||
echo "HOST_PORT_VARNISH=6081" >> .env
|
echo "HOST_PORT_VARNISH=6081" >> .env
|
||||||
echo "# HAProxy settings" >> .env
|
echo "# HAProxy settings" >> .env
|
||||||
|
Loading…
Reference in New Issue
Block a user