new contaienrs - code server & novnc box
This commit is contained in:
25
containers/novnc-py-console.yml
Normal file
25
containers/novnc-py-console.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
novnc-console:
|
||||
image: theasp/novnc:latest
|
||||
container_name: python-console
|
||||
ports:
|
||||
- "8080:8080" # noVNC web interface
|
||||
environment:
|
||||
- DISPLAY_WIDTH=1280
|
||||
- DISPLAY_HEIGHT=720
|
||||
- RUN_XTERM=yes
|
||||
volumes:
|
||||
- ./workspace:/workspace
|
||||
command: >
|
||||
bash -c "
|
||||
apt-get update &&
|
||||
apt-get install -y wget git &&
|
||||
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh &&
|
||||
bash /tmp/miniconda.sh -b -p /opt/conda &&
|
||||
rm /tmp/miniconda.sh &&
|
||||
/opt/conda/bin/conda init bash &&
|
||||
exec /app/entrypoint.sh
|
||||
"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user