Skip to content

Commit

Permalink
Add new environment variable to docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
MikMuellerDev committed May 22, 2022
1 parent 4053d67 commit 589b228
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
# Smarthome sever configuration
- SMARTHOME_PORT=80 # Default is 8082
- SMARTHOME_LOG_LEVEL=TRACE # Default is INFO
- SMARTHOME_ENV_PRODUCTION=TRUE # Default is FALSE, however TRUE is recommended
- SMARTHOME_ADMIN_PASSWORD=password # Only set on first start
ports:
- 8123:80 # Right side must be equal to `SMARTHOME_PORT`
Expand Down
1 change: 1 addition & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
# Smarthome sever configuration
- SMARTHOME_PORT=80 # Default is 8082
- SMARTHOME_LOG_LEVEL=TRACE # Default is INFO
- SMARTHOME_ENV_PRODUCTION=TRUE # Default is FALSE, however TRUE is recommended
- SMARTHOME_ADMIN_PASSWORD=password # Only set on first start
ports:
- 8123:80 # Right side must be equal to `SMARTHOME_PORT`
Expand Down
1 change: 1 addition & 0 deletions docker/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ USER smarthome:smarthome
RUN homescript config set -n admin -t admin -a http://localhost

ENV SMARTHOME_LOG_LEVEL=INFO
ENV SMARTHOME_ENV_PRODUCTION=TRUE

ENTRYPOINT ["/app/smarthome"]

0 comments on commit 589b228

Please sign in to comment.