File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 4242### Install
4343``` bash
4444# by Docker (Recommended)
45- docker run --restart always -p 3000:3000 -d --name http-adapter code2life/http-adapter:v1
45+ docker run --restart always -p 3000:3000 -d --name http-adapter code2life/http-adapter:v2
46+ # by Docker, mount CONF_PATH
47+ docker run --restart always -p 3000:3000 -d -e CONF_PATH=/conf -v /conf:/conf --name http-adapter code2life/http-adapter:v2
4648
4749# by Kubernetes
4850kubectl apply -f https://raw.githubusercontent.com/Code2Life/http-adapter/master/build/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ function downloadServerCodeAndStart() {
114114
115115function startServer ( ) {
116116 let server = fork ( SERVER_FILE , [ ] , {
117+ env : process . env ,
117118 stdio : 'inherit'
118119 } ) ;
119120 server . on ( 'exit' , ( code , signal ) => {
You can’t perform that action at this time.
0 commit comments