fn project 執行時配置選項

weixin_33896726發表於2017-10-04
Env VariablesDescriptionDefault values
DB_URL The database URL to use in URL format. SeeDatabases for more information. sqlite3:///app/data/fn.db
MQ_URL The message queue to use in URL format. SeeMessage Queues for more information. bolt:///app/data/worker_mq.db
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
PORT Sets the port to run on 8080
LOG_LEVEL Set to DEBUG to enable debugging INFO
DOCKER_HOST Docker remote API URL /var/run/docker.sock:/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

 

 
 
 
 

相關文章