Changed, web serving through NGINX

This commit is contained in:
allegroai 2019-07-17 18:18:33 +03:00
parent d24f633a8e
commit 07fd8b9f2f

View File

@ -218,7 +218,7 @@ sudo docker run -d --restart="always" --name="trains-mongo" -v /opt/trains/data/
``` ```
```bash ```bash
sudo docker run -d --restart="always" --name="trains-fileserver" --network="host" -v /opt/trains/logs:/var/log/trains -v /opt/trains/data/fileserver:/mnt/fileserver -v /opt/trains/config:/opt/trains/config allegroai/trains:latest fileserver sudo docker run -d --restart="always" --name="trains-fileserver" --network="host" -v /opt/trains/logs:/var/log/trains -v /opt/trains/data/fileserver:/mnt/fileserver allegroai/trains:latest fileserver
``` ```
```bash ```bash
@ -226,7 +226,7 @@ sudo docker run -d --restart="always" --name="trains-apiserver" --network="host"
``` ```
```bash ```bash
sudo docker run -d --restart="always" --name="trains-webserver" --network="host" -v /opt/trains/logs:/var/log/trains -v /opt/trains/config:/opt/trains/config allegroai/trains:latest webserver sudo docker run -d --restart="always" --name="trains-webserver" -p 8080:80 allegroai/trains:latest webserver
``` ```
After the **trains-server** Dockers are up, the following are available: After the **trains-server** Dockers are up, the following are available: