fix novnc
This commit is contained in:
@@ -138,7 +138,7 @@ USER coder
|
|||||||
WORKDIR /home/coder
|
WORKDIR /home/coder
|
||||||
|
|
||||||
VOLUME ["/home/coder"]
|
VOLUME ["/home/coder"]
|
||||||
EXPOSE 8080
|
EXPOSE 80
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||||
CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ docker run --rm -it \
|
|||||||
--privileged \
|
--privileged \
|
||||||
-v kiro-server-home:/home/coder \
|
-v kiro-server-home:/home/coder \
|
||||||
--env-file .env \
|
--env-file .env \
|
||||||
-p 8080:8080 \
|
-p 8080:80 \
|
||||||
kiro-server-dind
|
kiro-server-dind
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ Todo el trabajo se guarda en `/home/coder`, montado mediante el volumen `kiro-se
|
|||||||
|
|
||||||
## Acceso
|
## Acceso
|
||||||
|
|
||||||
Una vez corriendo, visita: [http://localhost:8080](http://localhost:8080)
|
Una vez corriendo, visita: [http://localhost:80](http://localhost:80)
|
||||||
Inicia sesión con las credenciales de tu archivo `.env`.
|
Inicia sesión con las credenciales de tu archivo `.env`.
|
||||||
|
|
||||||
## Herramientas Incluidas
|
## Herramientas Incluidas
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ docker run --rm -it \
|
|||||||
--privileged \
|
--privileged \
|
||||||
-v kiro-server-home:/home/coder \
|
-v kiro-server-home:/home/coder \
|
||||||
--env-file .env \
|
--env-file .env \
|
||||||
-p 8080:8080 \
|
-p 8080:80 \
|
||||||
kiro-server-dind
|
kiro-server-dind
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ All work is persisted in `/home/coder`, mounted via Docker volume `kiro-server-h
|
|||||||
|
|
||||||
## Access
|
## Access
|
||||||
|
|
||||||
Once running, visit: [http://localhost:8080](http://localhost:8080)
|
Once running, visit: [http://localhost:80](http://localhost:80)
|
||||||
Login using the credentials defined in `.env`.
|
Login using the credentials defined in `.env`.
|
||||||
|
|
||||||
## Tooling Included
|
## Tooling Included
|
||||||
|
|||||||
@@ -45,9 +45,5 @@ echo "[desktop-wrapper] Starting x11vnc..."
|
|||||||
x11vnc -display :1 $VNC_AUTH -forever -rfbport 5900 &
|
x11vnc -display :1 $VNC_AUTH -forever -rfbport 5900 &
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
# NoVNC
|
|
||||||
echo "[desktop-wrapper] Starting noVNC..."
|
|
||||||
websockify --web=/usr/share/novnc/ 0.0.0.0:8080 localhost:5900 &
|
|
||||||
|
|
||||||
# Queue of processes to wait for
|
# Queue of processes to wait for
|
||||||
wait -n
|
wait -n
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
container_name: kiro-server
|
container_name: kiro-server
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:80"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -6,3 +6,9 @@ command=/usr/local/bin/desktop-wrapper.sh
|
|||||||
autorestart=true
|
autorestart=true
|
||||||
user=coder
|
user=coder
|
||||||
priority=10
|
priority=10
|
||||||
|
|
||||||
|
[program:websockify]
|
||||||
|
command=/usr/bin/websockify --web=/usr/share/novnc/ 0.0.0.0:80 localhost:5900
|
||||||
|
autorestart=true
|
||||||
|
user=coder
|
||||||
|
priority=20
|
||||||
|
|||||||
Reference in New Issue
Block a user