diff --git a/Dockerfile b/Dockerfile index 35901bc..e8cffb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,10 @@ LABEL org.opencontainers.image.licenses='MIT' ENV NODE_ENV=production ENV NODE_ENV $NODE_ENV -ENV PORT 3090 +ENV PORT=3090 ENV PORT $PORT +ENV LOG_LEVEL=info +ENV LOG_LEVEL $LOG_LEVEL HEALTHCHECK CMD curl --fail http://localhost:${PORT}/healthcheck || exit 1 diff --git a/README.md b/README.md index 3c88a6b..7291615 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ To run it yourself, first create an API application through Trakt [here](https:/ Once Scrobblex is running, just go to http://$YOUR_IP:$PORT/ (ie: http://10.20.30.40:3090/) and a web page will guide you to get your token. -### docker run +### Using docker run ```bash docker run \ @@ -34,7 +34,7 @@ docker run \ ryck/scrobblex:latest ``` -### docker-compose.yml +### Using docker-compose.yml ```yaml services: diff --git a/package.json b/package.json index 9c4716f..5c44126 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "scrobblex", "description": "Self-hosted app that enables Plex scrobbling integration with Trakt via webhooks", - "version": "0.2.0", + "version": "0.2.1", "main": "src/index.js", "type": "module", "license": "MIT",