diff --git a/README.md b/README.md index 157373c..114e5dc 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,16 @@ # Setting up the Nextcloud containers -## set up http auth in the traefik instance +## Set up http-auth in the traefik instance + +Install apache2 utils and get the user+password in the right format for the docker-compose file. +Replace USER and PASS accordingly. -install apache2 utils and get the user+password in the right format for the docker-compose file -Replace USER and PASS of coursse. ```bash -suo apt-get install apache2-utils +sudo apt-get install apache2-utils echo $(htpasswd -nbB "") | sed -e s/\\$/\\$\\$/g ``` -In `docker/compose/docker-compose.yml` fill in the to the right place -In this case, in the beginning, put it under the nextcloud instance. +In `docker/compose/docker-compose.yml` replace with the output of the echo command. Then later, when disabling nextcloud-web, uncomment and fill in under traefik middlewares regarding the labels of the deb-rust-sncf container. @@ -37,7 +37,7 @@ Enter the command to start dockerd after installing docker on your host system: ```bash sudo systemctl start docker ``` -Install docker-compose on your host os. +Install docker-compose on your host OS. In the folder docker/compose do: ```bash sudo docker network create proxy @@ -48,12 +48,12 @@ sudo docker-compose up ## Configure Nextcloud in the admin panel like in the SNCF Doku -Then open example.org in your favourite browser. -Create the admin account, uncheck install recommended apps. +Open example.org in your favourite browser. +Create the admin account, uncheck "install recommended apps". Do everything as described in sncf (uncheck things in settings, uninstall everything except forms, apporder). -Except the alternative custom css: +Except of the alternative custom css: If you want a save button that does nothing than reload (nextcloud does already save realtime) But our thought was, the realtime saving could be confusing for some users. @@ -204,7 +204,7 @@ sudo docker-compose stop ``` or pressing `Ctrl-C` -Delete the WHOLE network with the command +Delete the whole network with the command ```bash sudo docker system prune --all ```