Commit c175957f authored by Fernando Verdugo's avatar Fernando Verdugo
Browse files

feature(docker): Fix network default

- We must define network default in KVM (back docker)
- Execute script network.sh

Issue #369
parent 103c7351
......@@ -47,7 +47,6 @@ services:
restart: unless-stopped
depends_on:
- ravada-mysql
- ravada-back
ravada-back:
......@@ -83,4 +82,4 @@ volumes:
networks:
ravada_network:
external: false
name: ravada_network
name: ravada_network
\ No newline at end of file
#!/bin/sh
chmod 666 /dev/kvm
virsh net-create ./default.xml
\ No newline at end of file
virsh net-define --file default.xml
virsh net-start default
virsh net-autostart --network default
\ No newline at end of file
......@@ -27,4 +27,7 @@ startretries=3
priority=5
[program:app]
command=sh /network.sh
command=/network.sh
startsecs = 0
autorestart = false
startretries = 1
\ 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