-
Notifications
You must be signed in to change notification settings - Fork 8
Other Docker Platforms
ninthwalker edited this page May 2, 2018
·
26 revisions
If you do not understand the docker commands, I would suggest for you to learn a little about docker first. The commands below are for reference. Replace the contents with your own variables.
docker run -d \
--name=NowShowingv2 \
--net=bridgde \
-e TZ="America/Los_Angeles" \
-p 6878:6878/tcp \
-v "/path/to/local/server/config/location":"/config":rw \
ninthwalker/nowshowing:v2
nowshowing:
image: ninthwalker/nowshowing:v2
container_name: NowShowingv2
volumes:
- /opt/nowshowing:/config
ports:
- 6878:6878
environment:
- TZ=America/Los_Angeles
restart: always
Then run: docker-compose up -d
TZ=America/Los_Angeles
Then run:
docker run -d \
--name=NowShowingv2 \
--net=bridge \
-p 6878:6878/tcp \
--env-file=nowshowing.env \
ninthwalker/nowshowing:v2
Use PUID and GUID to change /config directory permissions:
-e PUID="99"
-e PGID="100"
To enable Fail2ban support add the following to your docker run command:
--cap-add=NET_ADMIN
You can now login to the admin page at http://hostIP:hostPort/admin.
If this is your first time a Setup Wizard will guide you through the basic settings and you can login for advanced settings afterwards.
By default, the email will be sent out every Friday at 10:30am, and the web report will be generated once a day at 11:30pm local time. To change the schedules, enter in your own cron time on the Report Tab in the Web Interface.
See this page for help creating a time/date in cron: https://crontab.guru/