Update environment for varnish & haproxy
This commit is contained in:
parent
b35a23d89e
commit
40422ab4b0
20
env-example
20
env-example
@ -75,7 +75,6 @@ MARIADB_USER=default
|
|||||||
MARIADB_PASSWORD=secret
|
MARIADB_PASSWORD=secret
|
||||||
MARIADB_PORT=3306
|
MARIADB_PORT=3306
|
||||||
|
|
||||||
|
|
||||||
### POSTGRES Container
|
### POSTGRES Container
|
||||||
POSTGRES_DB=default
|
POSTGRES_DB=default
|
||||||
POSTGRES_USER=default
|
POSTGRES_USER=default
|
||||||
@ -118,6 +117,25 @@ PMA_PASSWORD=secret
|
|||||||
PMA_ROOT_PASSWORD=secret
|
PMA_ROOT_PASSWORD=secret
|
||||||
PMA_PORT=88
|
PMA_PORT=88
|
||||||
|
|
||||||
|
### VARNISH Container
|
||||||
|
VARNISH_CONFIG=/etc/varnish/default.vcl
|
||||||
|
VARNISH_PORT=8080
|
||||||
|
VARNISH_BACKEND_PORT=8888
|
||||||
|
VARNISHD_PARAMS=-p default_ttl=3600 -p default_grace=3600
|
||||||
|
|
||||||
|
### Varnish Proxy 1 Container
|
||||||
|
VARNISH_PROXY1_CACHE_SIZE=128m
|
||||||
|
VARNISH_PROXY1_BACKEND_HOST=server1
|
||||||
|
VARNISH_PROXY1_SERVER=SERVER1
|
||||||
|
|
||||||
|
### Varnish Proxy 2 Container
|
||||||
|
VARNISH_PROXY2_CACHE_SIZE=128m
|
||||||
|
VARNISH_PROXY2_BACKEND_HOST=server2
|
||||||
|
VARNISH_PROXY2_SERVER=SERVER2
|
||||||
|
|
||||||
|
### HAPROXY Container
|
||||||
|
HAPROXY_HOST_HTTP_PORT=80
|
||||||
|
|
||||||
### MISC
|
### MISC
|
||||||
# Replace with your Docker Host IP (will be appended to /etc/hosts)
|
# Replace with your Docker Host IP (will be appended to /etc/hosts)
|
||||||
DOCKER_HOST_IP=10.0.75.1
|
DOCKER_HOST_IP=10.0.75.1
|
||||||
|
Loading…
Reference in New Issue
Block a user