added compose

chore: removed direct running
This commit is contained in:
Lukas Pupka-Lipinski 2025-05-08 20:36:42 +02:00
parent 1bc13e7cb0
commit 91da4a5763
2 changed files with 14 additions and 1 deletions

13
docker-compose.yml Normal file
View 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

View File

@ -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