progress
This commit is contained in:
parent
72c9cb2e00
commit
55782dbd44
2
docker/md_portal/__UNUSED__/.env
Normal file
2
docker/md_portal/__UNUSED__/.env
Normal file
@ -0,0 +1,2 @@
|
||||
ROOT_DIR=/home/cvtt/prod
|
||||
ADMIN_PORT=7220
|
||||
20
docker/md_portal/__UNUSED__/docker-compose.yml
Normal file
20
docker/md_portal/__UNUSED__/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '3.8'
|
||||
|
||||
#==================================================
|
||||
# Relies on the file `.env` content for varables:
|
||||
# ROOT_DIR
|
||||
# JUPYTER_PORT
|
||||
#==================================================
|
||||
services:
|
||||
md_portal:
|
||||
image: cloud21.cvtt.vpn:5500/md_portal:latest
|
||||
network_mode: host
|
||||
container_name: md_portal
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- JUPYTER_ENABLE_LAB=yes
|
||||
volumes:
|
||||
- ${ROOT_DIR}/logs:/logs
|
||||
ports:
|
||||
- "${ADMIN_PORT}:${ADMIN_PORT}"
|
||||
shm_size: "8gb"
|
||||
24
docker/md_portal/start_docker_md_portal.sh
Executable file
24
docker/md_portal/start_docker_md_portal.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
args=${*}
|
||||
|
||||
ImageName=md_portal
|
||||
DockerRegistry=cloud21.cvtt.vpn:5500
|
||||
DockerImage=${DockerRegistry}/${ImageName}
|
||||
|
||||
if [ -z ${date} ] ; then
|
||||
date=$(date -d "yesterday" +%Y%m%d)
|
||||
fi
|
||||
|
||||
Cmd="docker run"
|
||||
Cmd="${Cmd} --rm"
|
||||
Cmd="${Cmd} --pull=always"
|
||||
Cmd="${Cmd} --network=host"
|
||||
Cmd="${Cmd} --restart=unless-stopped"
|
||||
Cmd="${Cmd} --name=${ImageName}"
|
||||
Cmd="${Cmd} --volume /home/cvtt/prod/logs:/logs"
|
||||
Cmd="${Cmd} ${DockerImage}"
|
||||
Cmd="${Cmd} ${args}"
|
||||
|
||||
echo $Cmd
|
||||
# eval $Cmd
|
||||
@ -1 +1 @@
|
||||
1.4.2,crypto research: do not use bnbfut
|
||||
1.4.3RC,Release Candidate for md_portal docker
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user