new contaienrs - code server & novnc box

This commit is contained in:
Dobromir Popov
2026-02-12 12:53:19 +02:00
parent 70d8b1c93c
commit 464644f5d8
4 changed files with 82 additions and 0 deletions

View 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