|
@ -2,16 +2,16 @@ |
|
|
|
|
|
|
|
|
# Setting up the Nextcloud containers |
|
|
# 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 |
|
|
```bash |
|
|
suo apt-get install apache2-utils |
|
|
|
|
|
|
|
|
sudo apt-get install apache2-utils |
|
|
echo $(htpasswd -nbB <USER> "<PASS>") | sed -e s/\\$/\\$\\$/g |
|
|
echo $(htpasswd -nbB <USER> "<PASS>") | sed -e s/\\$/\\$\\$/g |
|
|
``` |
|
|
``` |
|
|
In `docker/compose/docker-compose.yml` fill in the <output> to the right place |
|
|
|
|
|
In this case, in the beginning, put it under the nextcloud instance. |
|
|
|
|
|
|
|
|
In `docker/compose/docker-compose.yml` replace <output> with the output of the echo command. |
|
|
Then later, when disabling nextcloud-web, uncomment and fill in under traefik middlewares |
|
|
Then later, when disabling nextcloud-web, uncomment and fill in under traefik middlewares |
|
|
regarding the labels of the deb-rust-sncf container. |
|
|
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 |
|
|
```bash |
|
|
sudo systemctl start docker |
|
|
sudo systemctl start docker |
|
|
``` |
|
|
``` |
|
|
Install docker-compose on your host os. |
|
|
|
|
|
|
|
|
Install docker-compose on your host OS. |
|
|
In the folder docker/compose do: |
|
|
In the folder docker/compose do: |
|
|
```bash |
|
|
```bash |
|
|
sudo docker network create proxy |
|
|
sudo docker network create proxy |
|
@ -48,12 +48,12 @@ sudo docker-compose up |
|
|
|
|
|
|
|
|
## Configure Nextcloud in the admin panel like in the SNCF Doku |
|
|
## 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 |
|
|
Do everything as described in sncf (uncheck things in settings, uninstall |
|
|
everything except forms, apporder). |
|
|
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) |
|
|
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. |
|
|
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` |
|
|
or pressing `Ctrl-C` |
|
|
|
|
|
|
|
|
Delete the WHOLE network with the command |
|
|
|
|
|
|
|
|
Delete the whole network with the command |
|
|
```bash |
|
|
```bash |
|
|
sudo docker system prune --all |
|
|
sudo docker system prune --all |
|
|
``` |
|
|
``` |
|
|