Commit 0819d0f9 authored by Fernando Verdugo's avatar Fernando Verdugo
Browse files

ffeat(docker): Often net default not enable

- There is a script to start default network
- Check in back docker with virsh net-list

Issue #369
parent 66da01db
......@@ -17,3 +17,4 @@ yarn.lock
node_modules/
t/vm/b10*
public/fallback
.cache/
......@@ -6,7 +6,8 @@
[![Telegram Group](https://img.shields.io/badge/Telegram-Group-blue.svg)](https://t.me/ravadavdi)
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![Docker Stars](https://img.shields.io/docker/stars/ravada/front.svg?style=flat)](https://hub.docker.com/r/ravada/front/)
[![Docker Pulls](https://img.shields.io/docker/pulls/ravada/front.svg?style=flat)](https://hub.docker.com/r/ravada/front/)
## Remote Virtual Desktops Manager
......
......@@ -19,20 +19,14 @@ services:
- MYSQL_USER=rvd_user
- MYSQL_PASSWORD=Pword12345*
- MYSQL_MY_DATABASE=ravada
ports:
- "33306:3306"
expose:
- "3306"
ravada-front:
container_name: ravada-front
volumes:
- "/opt/ravada/certs:/certs"
- "/opt/ravada/logs:/ravada/logs"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/opt/ravada/images:/var/lib/libvirt/images"
- "~/src/ravada:/ravada"
- "/opt/ravada/screenshots:/var/www/img/screenshots"
ports:
- "3000:3000"
......@@ -47,16 +41,15 @@ services:
restart: unless-stopped
depends_on:
- ravada-back
- ravada-mysql
ravada-back:
container_name: ravada-back
volumes:
- "sshkeys:/root/.ssh"
- "/opt/ravada/certs:/certs"
- "/opt/ravada/logs:/ravada/logs"
- "/opt/ravada/certs/default:/etc/pki/libvirt-spice"
- "/opt/ravada/images:/var/lib/libvirt/images"
- "/opt/ravada/screenshots:/var/www/img/screenshots"
- "/opt/ravada/etc:/etc/libvirt/qemu"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
......
......@@ -27,13 +27,11 @@ RUN dpkg -i /tmp/libmojolicious-plugin-renderfile-perl_0.10-1_all.deb \
&& mkdir -p /var/log/supervisor \
&& mkdir -p /run/sshd
COPY default.xml network.sh /
COPY network.sh default.xml /
EXPOSE 5900-5950
EXPOSE 55900-55950
VOLUME ["/opt/ravada" ]
COPY supervisord.conf /etc/supervisord.conf
#RUN mkdir /ravada
......
......@@ -27,7 +27,8 @@ startretries=3
priority=5
[program:app]
command=/network.sh
startsecs = 0
command=./network.sh
startsecs = 8
autorestart = false
startretries = 1
\ No newline at end of file
startretries = 1
priority=6
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment