Skip to content

Commit

Permalink
docs: update envs in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicioslc committed Aug 11, 2023
1 parent 2f95984 commit f1832df
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ LABEL com.centurylinklabs.watchtower.enable=true
ENV DEBUG=tinfoil*
ENV ROMS_DIR_FULLPATH=/games
ENV TINFOIL_HAT_PORT=80
ENV BASIC_AUTH=
ENV UNAUTHORIZED_MSG=
ENV NX_PORTS=5000

# The container will run at root level of container
# to avoid long syntax when mounting /games folder
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ services:
- AUTH_USERS=tinfoiler:password,othertinfoiler:otherpassword
- UNAUTHORIZED_MSG='No tricks and treats for you!!'
- WELCOME_MSG='The Server Just Works!!'
- NX_PORTS=5000 # ftp port used to sync saves
# - UNAUTHORIZED_MSG= # message shown when credentials are incorrect
# - NX_IPS= # devices ips that will be saves sync separated by ";"
# - SAVE_SYNC_INTERVAL= # interval in millisseconds that will try sync saves < 5000 will stop sync
# - NX_USER= # ftpd user
# - NX_PASSWORD= # ftpd password

ports:
# Change to any port of your machine (99 in that case) (dont change the :80 !!!)
- 99:80
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ services:
# - AUTH_USERS=admin:123
- UNAUTHORIZED_MSG='No tricks and treats for you!!'
- WELCOME_MSG='The Server Just Works!!'
- NX_PORTS=5000 # ftp port used to sync saves
# - UNAUTHORIZED_MSG= # message shown when credentials are incorrect
# - NX_IPS= # devices ips that will be saves sync separated by ";"
# - SAVE_SYNC_INTERVAL= # interval in millisseconds that will try sync saves < 5000 will stop sync
# - NX_USER= # ftpd user
# - NX_PASSWORD= # ftpd password

ports:
# Change to any port of your machine (99 in that case) (dont change the :80 !!!)
- 99:80
Expand Down

0 comments on commit f1832df

Please sign in to comment.