Update Readme.md

formatting
This commit is contained in:
alpcentaur 2021-04-16 13:27:29 +00:00
parent 68c60edfb2
commit a96e68f6d0

View file

@ -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: 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
sudo docker-compose up sudo docker-compose up
```` ```
# Setting up nextcloud with deb-rust-sncf container # 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: get the updated config.php in your nextcloud instance with the following command:
```bash ```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 ## 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 Now stop all containers with either issuing
```bash ```bash
sudo docker-compose stop 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
``` ```
Then restart with Then restart with
```bash ```bash
sudo docker-compose up sudo docker-compose up
``` ```
in the folder docker/compose in the folder `docker/compose`.