1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-21 05:41:54 +02:00

cleanup config files

This commit is contained in:
Nick Sweeting
2021-04-23 22:58:44 -04:00
parent 1cdd2bf496
commit eb80dc26a1
8 changed files with 43 additions and 55 deletions

View File

@@ -1 +0,0 @@
0 24 * * * www-data /opt/ArchiveBox/bin/archive "https://getpocket.com/users/example/feed/all" >> /var/log/ArchiveBox.log

40
etc/fly.toml Normal file
View File

@@ -0,0 +1,40 @@
# fly.toml file generated for archivebox on 2021-04-23T16:35:11-04:00
app = "archivebox"
kill_signal = "SIGINT"
kill_timeout = 5
[env]
[mounts]
source="archivebox_data"
destination="/data"
[experimental]
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8000
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 6
timeout = "2s"

13
etc/uwsgi.ini Normal file
View File

@@ -0,0 +1,13 @@
[uwsgi]
socket = 127.0.0.1:3031
chdir = ../
http = 0.0.0.0:8001
env = OUTPUT_DIR=./data
wsgi-file = archivebox/core/wsgi.py
processes = 4
threads = 1
stats = 127.0.0.1:9191
static-map /static=./archivebox/templates/static
harakiri = 172800
post-buffering = 1
disable-logging = True