added compose
chore: removed direct running
This commit is contained in:
parent
1bc13e7cb0
commit
91da4a5763
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -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
|
||||||
@ -28,7 +28,7 @@ if ! protonvpn-cli status | grep -q "Connected"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Start the main Python script in the background
|
# Start the main Python script in the background
|
||||||
python3 /main.py &
|
#python3 /main.py &
|
||||||
MAIN_PID=$!
|
MAIN_PID=$!
|
||||||
|
|
||||||
# Monitor VPN connection
|
# Monitor VPN connection
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user