mirror of
https://github.com/clearml/clearml-server
synced 2025-06-26 23:15:47 +00:00
Update docker-compose files
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
The webserver is the **trains-server**'s component responsible for serving the Trains webapp.
|
||||
The webserver is the **clearml-server**'s component responsible for serving the Trains webapp.
|
||||
For this purpose, we use an [NGINX](https://www.nginx.com/) server.
|
||||
|
||||
## Configuration
|
||||
|
||||
In order to serve the Trains webapp, the following is required:
|
||||
* The pre-built Trains webapp should be copied to the NGINX html directory (usually `/usr/share/nginx/html`)
|
||||
* The default NGINX port (usually `80`) should be changed to match the **trains-server** configuration (usually `8080`)
|
||||
In order to serve the ClearML webapp, the following is required:
|
||||
* The pre-built ClearML webapp should be copied to the NGINX html directory (usually `/usr/share/nginx/html`)
|
||||
* The default NGINX port (usually `80`) should be changed to match the **clearml-server** configuration (usually `8080`)
|
||||
|
||||
NOTE: This configuration may vary in different systems, depending on the NGINX version and distribution used.
|
||||
|
||||
@@ -18,7 +18,7 @@ NOTE: This configuration may vary in different systems, depending on the NGINX v
|
||||
The following commands can be used to install and run NGINX in the Centos 7 OS:
|
||||
```bash
|
||||
yum install nginx
|
||||
cp -R /path/to/trains-webapp/build/* /var/www/html
|
||||
cp -R /path/to/clearml-webapp/build/* /var/www/html
|
||||
systemctl enable nginx
|
||||
systemctl start nginx
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user