Various fixes
This commit is contained in:
parent
8336f82311
commit
7aec6ec98a
6 changed files with 25 additions and 11 deletions
12
README.md
12
README.md
|
|
@ -235,7 +235,7 @@ Keep in mind that this is the machine exposed to participant.
|
|||
1. Generate the synchronization SSH key on the backend:
|
||||
|
||||
```
|
||||
sudo su -c "ssh-keygen -t rsa -b 8192 -N '' -f ~synchro/.ssh/id_rsa" synchro
|
||||
sudo su -c "ssh-keygen -t rsa -b 8192 -N '' -f /var/www/fic_server/.ssh/id_rsa" synchro
|
||||
```
|
||||
|
||||
2. Copy `~synchro/.ssh/id_rsa.pub` into `front_synchro/authorized_keys` file.
|
||||
|
|
@ -247,11 +247,17 @@ docker build -t synchro front_synchro/
|
|||
docker run -d --name fsync -p 2242:22 synchro
|
||||
```
|
||||
|
||||
4. Run the frontend container:
|
||||
4. Run the backend.
|
||||
|
||||
A first synchronization have to be made before the next step. This
|
||||
synchronization will copy the frontend private key and various required
|
||||
certificates.
|
||||
|
||||
5. Run the frontend container:
|
||||
|
||||
```
|
||||
docker build -t frontend front/
|
||||
docker run --rm -p 80:80 -p 443:443 --volumes-from fsync front
|
||||
docker run --rm -it -p 80:80 -p 443:443 --volumes-from fsync frontend
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Reference in a new issue