|
|
@ -14,14 +14,14 @@ Point your domain to the public ip of your server. |
|
|
|
|
|
|
|
Enter the command to start dockerd after installing docker on your host system: |
|
|
|
```bash |
|
|
|
sudo systemctl start docker |
|
|
|
sudo systemctl start docker |
|
|
|
``` |
|
|
|
Install docker-compose on your host os. |
|
|
|
In the folder docker/compose do: |
|
|
|
```bash |
|
|
|
sudo docker network create proxy |
|
|
|
sudo docker-compose up |
|
|
|
```` |
|
|
|
sudo docker network create proxy |
|
|
|
sudo docker-compose up |
|
|
|
``` |
|
|
|
|
|
|
|
# Setting up nextcloud with deb-rust-sncf container |
|
|
|
|
|
|
@ -150,7 +150,7 @@ then changes (with your domain) in config.php |
|
|
|
``` |
|
|
|
get the updated config.php in your nextcloud instance with the following command: |
|
|
|
```bash |
|
|
|
docker exec -u www-data nextcloud php occ files:scan --all |
|
|
|
sudo docker exec -u www-data nextcloud php occ files:scan --all |
|
|
|
``` |
|
|
|
|
|
|
|
## Change nextcloud definition in compose file and uncomment deb-rust-sncf |
|
|
@ -179,18 +179,18 @@ Change the passwords AAAAA and example.org to your domain. |
|
|
|
|
|
|
|
Now stop all containers with either issuing |
|
|
|
```bash |
|
|
|
sudo docker-compose stop |
|
|
|
sudo docker-compose stop |
|
|
|
``` |
|
|
|
or pressing `Ctrl-C` |
|
|
|
|
|
|
|
Delete the WHOLE network with the command |
|
|
|
```bash |
|
|
|
sudo docker system prune --all |
|
|
|
sudo docker system prune --all |
|
|
|
``` |
|
|
|
Then restart with |
|
|
|
```bash |
|
|
|
sudo docker-compose up |
|
|
|
sudo docker-compose up |
|
|
|
``` |
|
|
|
in the folder docker/compose |
|
|
|
in the folder `docker/compose`. |
|
|
|
|
|
|
|
|