mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
d92dfbbdb7
* add server root url * [Feature Request] Add proxy_pass for root url other than / * [Feature Request] Add proxy_pass for root url other than / * add support for web sub path * add support for web sub path * use default conf instead of created a custom one * code reivew: move cp command in if block * Add commented env var in the docker-compose file Co-authored-by: Zied ANDOLSI <zandolsi@prophesee.ai>
19 lines
771 B
Bash
19 lines
771 B
Bash
#!/usr/bin/env bash
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
yum update -y
|
|
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
yum install -y python36 python36-pip nginx gcc gcc-c++ python3-devel gettext
|
|
yum -y upgrade
|
|
python3 -m pip install -r /opt/clearml/fileserver/requirements.txt
|
|
python3 -m pip install -r /opt/clearml/apiserver/requirements.txt
|
|
mkdir -p /opt/clearml/log
|
|
mkdir -p /opt/clearml/config
|
|
ln -s /dev/stdout /var/log/nginx/access.log
|
|
ln -s /dev/stderr /var/log/nginx/error.log
|
|
mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.orig
|
|
mv /tmp/internal_files/clearml.conf.template /etc/nginx/clearml.conf.template
|
|
mv /tmp/internal_files/clearml_subpath.conf.template /etc/nginx/clearml_subpath.conf.template
|
|
yum clean all |