Update Readme.md
better formatting
This commit is contained in:
parent
bf7c296422
commit
b2dbdb4f1e
1 changed files with 9 additions and 22 deletions
31
README.md
31
README.md
|
@ -1,27 +1,14 @@
|
||||||
***
|
|
||||||
____ _ _ ____ _____
|
|
||||||
/ ___|| \ | |/ ___| ___|
|
|
||||||
\___ \| \| | | | |_
|
|
||||||
___) | |\ | |___| _|
|
|
||||||
|____/|_| \_|\____|_|
|
|
||||||
|
|
||||||
____ _ ____
|
|
||||||
| _ \ ___ ___| | _____ _ __ / ___|___ _ __ ___ _ __ ___ ___ ___
|
|
||||||
| | | |/ _ \ / __| |/ / _ \ '__|____| | / _ \| '_ ` _ \| '_ \ / _ \/ __|/ _ \
|
|
||||||
| |_| | (_) | (__| < __/ | |_____| |__| (_) | | | | | | |_) | (_) \__ \ __/
|
|
||||||
|____/ \___/ \___|_|\_\___|_| \____\___/|_| |_| |_| .__/ \___/|___/\___|
|
|
||||||
|_|
|
|
||||||
***
|
***
|
||||||
|
|
||||||
## Setting up the Nextcloud containers
|
# Setting up the Nextcloud containers
|
||||||
|
|
||||||
# Changes in docker/compose/docker-compose.yml
|
## Changes in docker/compose/docker-compose.yml
|
||||||
|
|
||||||
Go to docker-compose.yml and change all AAAAApw to your passwords.
|
Go to docker-compose.yml and change all AAAAApw to your passwords.
|
||||||
|
|
||||||
Then change example.org to your domain.
|
Then change example.org to your domain.
|
||||||
|
|
||||||
# Install and start docker compose
|
## Install and start docker compose
|
||||||
|
|
||||||
Point your domain to the public ip of your server.
|
Point your domain to the public ip of your server.
|
||||||
|
|
||||||
|
@ -34,9 +21,9 @@ Install docker-compose on your host os and in the folder docker/compose do:
|
||||||
sudo docker-compose up
|
sudo docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setting up nextcloud with deb-rust-sncf container
|
# Setting up nextcloud with deb-rust-sncf container
|
||||||
|
|
||||||
# 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,
|
Then open example.org in your favourite browser,
|
||||||
create admin account, uncheck install recommended apps.
|
create admin account, uncheck install recommended apps.
|
||||||
|
@ -139,7 +126,7 @@ custom css code for save button:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Change nextcloud config for deb-rust-sncf
|
## Change nextcloud config for deb-rust-sncf
|
||||||
|
|
||||||
|
|
||||||
then changes (with your domain) in config.php
|
then changes (with your domain) in config.php
|
||||||
|
@ -163,7 +150,7 @@ get the updated config.php in your nextcloud instance with the following command
|
||||||
docker exec -u www-data nextcloud php occ files:scan --all
|
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
|
||||||
|
|
||||||
Then open the docker-compose.yml file, comment all labels of the container
|
Then open the docker-compose.yml file, comment all labels of the container
|
||||||
nextcloud-web.
|
nextcloud-web.
|
||||||
|
@ -178,14 +165,14 @@ These changes give the functionality to send the admin link to users mail.
|
||||||
Until now, the post http request and the mail adress are saved in a file on the
|
Until now, the post http request and the mail adress are saved in a file on the
|
||||||
container deb-rust-sncf.
|
container deb-rust-sncf.
|
||||||
|
|
||||||
# Configure rust build withing deb-rust-sncf
|
## Configure rust build withing deb-rust-sncf
|
||||||
|
|
||||||
Go to docker/build/deb-rust-sncf anyway and make changes in config.toml according
|
Go to docker/build/deb-rust-sncf anyway and make changes in config.toml according
|
||||||
the sncf wiki.
|
the sncf wiki.
|
||||||
Change the passwords AAAAA and example.org to your domain.
|
Change the passwords AAAAA and example.org to your domain.
|
||||||
|
|
||||||
|
|
||||||
# Remove and restart all containers
|
## Remove and restart all containers
|
||||||
|
|
||||||
Now stop all containers with either issuing
|
Now stop all containers with either issuing
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue