diff --git a/.gitignore b/.gitignore index 2c0ed84..35134b5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,8 @@ **/*.rs.bk Cargo.lock ./.idea/ -.idea/ \ No newline at end of file +.idea/ +mkcert-v1.4.1-linux-amd64 +key-rsa.pem +key.pem +cert.pem \ No newline at end of file diff --git a/README.md b/README.md index 468dfb7..aa4e334 100644 --- a/README.md +++ b/README.md @@ -227,9 +227,10 @@ openssl rsa -in localhost-key.pem -out key-rsa.pem ## Docker +By default, docker image uses `swisstable` feature. If you need the other features, you will need to modify Dockerfile and build your own image. ``` docker pull inverse/justbus_rs -docker run -d -p 8080:8080 -e API_KEY=YOUR_API_KEY -e IP_ADDR='0.0.0.0:8080' inverse/justbus_rs +docker run -d -p 8080:8080 inverse/justbus_rs --api-key YOUR_API_KEY --ip-addr 0.0.0.0:8080 ``` ## Contributors