diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..02a0887 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3.7" +services: + aniworld: + build: . + #user: "1009:1008" # should be owner of volumes + container_name: aniworld + restart: always + networks: + - bridge_network + +networks: + bridge_network: + driver: bridge \ No newline at end of file diff --git a/vpn_monitor.sh b/vpn_monitor.sh index 42521ea..be8479f 100644 --- a/vpn_monitor.sh +++ b/vpn_monitor.sh @@ -28,7 +28,7 @@ if ! protonvpn-cli status | grep -q "Connected"; then fi # Start the main Python script in the background -python3 /main.py & +#python3 /main.py & MAIN_PID=$! # Monitor VPN connection