Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker images, push to temp registry and update docs #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM nginx:stable

COPY ./index.html /usr/share/nginx/html/index.html
COPY ./favicon.ico /usr/share/nginx/html/
ADD ./common/ /usr/share/nginx/html/common
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,14 @@ This project uses:
## To Use
Copy the config.sample.json file and rename to config.json. Be sure to update the fields as you see appropriate.

## Docker

Docker images based on nginx are pushed to docker hub as
[olifant/simple-dash](https://hub.docker.com/r/olifant/simple-dash). Run the container by mounting a config file from
the host and expose the necessary ports.

$ docker pull olifant/simple-dash:latest
$ docker run -p 8080:80 -v $(pwd)/config.json:/usr/share/nginx/html/config.json olifant/simple-dash:latest

## Configure Homepage
- 'items' => The menu will scale to the amount of items you want to display. Insert any link you'd like, or {{cur}} for the current URL of the page. Choose icons from [Font Awesome](http://fontawesome.io/icons/)