From 42a02c15625acba06f700da12895837613b7d63c Mon Sep 17 00:00:00 2001 From: DoTheEvolution Date: Sun, 10 May 2020 15:03:54 +0200 Subject: [PATCH] update --- homer/readme.md | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/homer/readme.md b/homer/readme.md index 45a3ea8..f7287bb 100644 --- a/homer/readme.md +++ b/homer/readme.md @@ -22,11 +22,20 @@ The docker image uses darkhttpd simple web server on alpine linux. └── docker/ └── homer/ ├── assets/ + │ └── tools/ ├── .env ├── docker-compose.yml └── config.yml ``` +* `assets/` - a directory containing icons and other directories with icons +* `.env` - a file containing environmental variables for docker compose +* `docker-compose.yml` - a docker compose file, telling docker how to build the container +* `config.yml` - homer's configuration file bind mounted in to the container + +All files and folders need to be provided.
+`assets` direcotry is part of this repo. + # docker-compose `docker-compose.yml` @@ -40,8 +49,8 @@ services: hostname: homer restart: unless-stopped volumes: - - ./config.yml:/www/config.yml - - ./assets/:/www/assets + - ./config.yml:/www/config.yml:ro + - ./assets/:/www/assets:ro networks: default: @@ -71,7 +80,10 @@ Caddy v2 is used, details # Config -Homepage is configured in `config.yml` file. +Homer in this `config.yml` file.
+This one is based on the example from +the [github](https://github.com/bastienwirtz/homer). + `config.yml` ```yml @@ -143,7 +155,7 @@ that makes daily snapshot of the entire directory. #### Restore -* down the bookstack containers `docker-compose down`
-* delete the entire bookstack directory
-* from the backup copy back the bookstack directory
-* start the containers `docker-compose up -d` +* down the homer container `docker-compose down`
+* delete the entire homer directory
+* from the backup copy back the homer directory
+* start the container `docker-compose up -d`