mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
[skip ci] Added the API_CORS env var to the documented options (#538)
This commit is contained in:
committed by
Owen Cliffe
parent
251a9b34d6
commit
1df4b46c56
@@ -26,10 +26,11 @@ docker run -e VAR_NAME=VALUE ...
|
||||
| `FN_API_URL` | The primary Fn API URL to that this instance will talk to. In a production environment, this would be your load balancer URL. | N/A |
|
||||
| `FN_PORT `| Sets the port to run on | 8080 |
|
||||
| `FN_LOG_LEVEL` | Set to DEBUG to enable debugging | INFO |
|
||||
| `DOCKER_HOST` | Docker remote API URL | /var/run/docker.sock |
|
||||
| `DOCKER_API_VERSION` | Docker remote API version | 1.24 |
|
||||
| `FN_API_CORS` | A comma separated list of URLs to enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) for (or `*` for all domains). This corresponds to the allowed origins in the `Acccess-Control-Allow-Origin` header. | None |
|
||||
| `DOCKER_HOST` | Docker remote API URL. | /var/run/docker.sock |
|
||||
| `DOCKER_API_VERSION` | Docker remote API version. | 1.24 |
|
||||
| `DOCKER_TLS_VERIFY` | Set this option to enable/disable Docker remote API over TLS/SSL. | 0 |
|
||||
| `DOCKER_CERT_PATH` | Set this option to specify where CA cert placeholder | ~/.docker/cert.pem |
|
||||
| `DOCKER_CERT_PATH` | Set this option to specify where CA cert placeholder. | ~/.docker/cert.pem |
|
||||
|
||||
## Starting without Docker in Docker
|
||||
|
||||
|
||||
Reference in New Issue
Block a user