add astra draft

This commit is contained in:
2026-09-17 17:59:34 +02:00
parent 88588dcfcc
commit 41458afc76
38 changed files with 2392 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
services:
apc:
build: .
ports:
- '127.0.0.1:8000:8000'
environment:
APC_ADMIN_TOKEN: ${APC_ADMIN_TOKEN:?Generate APC_ADMIN_TOKEN in .env first}
APC_ORIGIN: ${APC_ORIGIN:-http://localhost:8000}
volumes:
- apc-data:/data
read_only: true
tmpfs:
- /tmp
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
restart: unless-stopped
healthcheck:
test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/healthz', timeout=3)"]
interval: 30s
timeout: 5s
retries: 3
volumes:
apc-data: