Switched to docker compose and wasted hours trying to have standalone firefox

This commit is contained in:
Remy Moll
2022-05-29 18:29:31 +02:00
parent 878a1dff5d
commit 54760abee4
13 changed files with 154 additions and 42 deletions

12
env/check vendored Normal file
View File

@@ -0,0 +1,12 @@
# Does not run any downloads but displays the previously downloaded but not yet checked files. Requires display-acces via xauth
CONTAINER_DATA=/mnt/Data/COSS/Downloads/auto_news.container
HOSTS_FILE=/mnt/Data/COSS/Downloads/auto_news.container/dependencies/hosts
XAUTHORTIY=$XAUTHORTIY
DEBUG=false
CHECK=true
HEADLESS=true
UPLOAD=false
REDUCEDFETCH=false

15
env/debug vendored Normal file
View File

@@ -0,0 +1,15 @@
# Runs in a debugging mode, does not launch anything at all but starts a bash process
CONTAINER_DATA=/mnt/Data/COSS/Downloads/auto_news.container
HOSTS_FILE=/mnt/Data/COSS/Downloads/auto_news.container/dependencies/hosts
CODE=./
XAUTHORTIY=$XAUTHORTIY
DEBUG=true
CHECK=false
UPLOAD=false
HEADLESS=false
REDUCEDFETCH=false
ENTRYPOINT="sleep infinity"

10
env/production vendored Normal file
View File

@@ -0,0 +1,10 @@
# Runs on the main slack channel with the full worker setup. If nothing funky has occured, reducedfetch is a speedup
CONTAINER_DATA=/mnt/Data/Downloads/auto_news.container
HOSTS_FILE=/mnt/Data/COSS/Downloads/auto_news.container/dependencies/hosts
DEBUG=false
CHECK=false
UPLOAD=false
HEADLESS=true
REDUCEDFETCH=true

11
env/upload vendored Normal file
View File

@@ -0,0 +1,11 @@
# Does not run any other workers and only upploads to archive the urls that weren't previously uploaded
CONTAINER_DATA=/mnt/Data/COSS/Downloads/auto_news.container
HOSTS_FILE=/mnt/Data/COSS/Downloads/auto_news.container/dependencies/hosts
DEBUG=false
CHECK=false
UPLOAD=true
HEADLESS=true
REDUCEDFETCH=false