Fix some issues with docker isntallation

This commit is contained in:
PLUJA 2020-10-10 08:55:48 +02:00 committed by GitHub
parent 6d0f49a7c3
commit 1a2b567af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@ Now you should be logged in. Make sure to set up a good password. It is recommen
git clone https://github.com/ytorg/Yotter && cd Yotter
docker-compose up -d
```
> You may need to use `sudo` for turning up the docker-compose
4. Configure nginx as a reverse proxy to your docker container.
* Create a new nginx configuration file:
- `sudo nano /etc/nginx/sites-enabled/yotter`
@ -58,7 +59,7 @@ docker-compose up -d
- Change `<example.com>` by your domain.
* Generate a ssl certificate:
- Method 1: follow [Let's Encrypt](https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx) guide (Recommended)
- Only steps `3`, `5`, `6` and `7b (second command only)` are needed.
- Only steps `3`, `5`, `6` and `7a (second command only)` are needed.
- Method 2: Generate a self-signed certificate.
* Reload nginx:
- `sudo service nginx reload`