Run update.sh
This commit is contained in:
parent
170aab3bc4
commit
3ca2d6a7d6
|
|
@ -137,7 +137,7 @@ web:
|
||||||
environment:
|
environment:
|
||||||
- NGINX_HOST=foobar.com
|
- NGINX_HOST=foobar.com
|
||||||
- NGINX_PORT=80
|
- NGINX_PORT=80
|
||||||
command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
|
command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
|
||||||
```
|
```
|
||||||
|
|
||||||
The `mysite.template` file may then contain variable references like this:
|
The `mysite.template` file may then contain variable references like this:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue