3 The fastest and recommended way to get your Homer instance up and running is
4 with Docker. The Docker image comes with a web server built-in so that all you
5 need to worry about is your config file.
14 -v </your/local/assets/>:/www/assets \
19 Default assets will be automatically installed in the `/www/assets` directory. Use `UID` and/or `GID` env var to change the assets owner (`docker run -e "UID=1000" -e "GID=1000" [...]`).
23 The `docker-compose.yml` file must be edited to match your needs.
24 Set the port and volume (equivalent to `-p` and `-v` arguments):
28 - /your/local/assets/:/www/assets
36 cd /path/to/docker-compose.yml
40 Default assets will be automatically installed in the `/www/assets` directory. Use `UID` and/or `GID` env var to change the assets owner, also in `docker-compose.yml`:
48 ## Shipping your own web server
50 ### Prebuilt release tarball
52 Download and extract the latest release (`homer.zip`) from the [release page](https://github.com/bastienwirtz/homer/releases), rename the `assets/config.yml.dist` file to `assets/config.yml`, and put it behind a web server.
55 wget https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
58 cp assets/config.yml.dist assets/config.yml
59 npx serve # or python -m http.server 8010 or apache, nginx ...
62 ### Building from source
65 # Using yarn (recommended)
74 Then your dashboard is ready to use in the `/dist` directory.