Snapshot: full project state

This commit is contained in:
2026-10-06 23:43:38 -07:00
commit 73d1640e25
9 changed files with 521 additions and 0 deletions

5
deploy/env Normal file
View File

@@ -0,0 +1,5 @@
BTCPAY_URL=https://10.30.20.140
BTCPAY_STORE=GUZqSmsabLYRQ24zRMGAmepTXxdvFagenCBBCQNr1773
BTCPAY_KEY=385204347c761fa8bac2119f8fbc339b033ea490
BTCPAY_WEBHOOK_SECRET=d68ccd12547de8253a74be0e5c80927d075360e99402342a
TM_PRICE_USD=12.00

View File

@@ -0,0 +1,13 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location / {
proxy_pass http://127.0.0.1:8500;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

View File

@@ -0,0 +1,14 @@
[Unit]
Description=THREATMARKET threat-intel marketplace (gunicorn)
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/threatmarket
EnvironmentFile=/opt/threatmarket/env
ExecStart=/opt/threatmarket/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8500 app:app
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target