This commit is contained in:
badblocks 2026-07-10 00:21:45 -07:00
parent 6e7977997e
commit 79c783c8c1
Signed by: badblocks
SSH key fingerprint: SHA256:hEcM6BP4hKm9F7WsomNuXSBpPn2BSDnFzPSl3y1NerQ
20 changed files with 279 additions and 196 deletions

View file

@ -1,9 +1,29 @@
services:
personal-site:
build: .
ports:
- 4321:4321
restart: no
logging:
options:
max-size: 1g
badblocks-personal-site:
image: badblocks-personal-site:latest
restart: always
container_name: badblocks-personal-site
volumes:
- ./db:/db
env_file:
- .env
healthcheck:
test:
[
"CMD",
"node",
"-e",
"fetch('http://localhost:4321/health').then(r=>process.exit(r.ok?0:1))",
]
interval: 30s
timeout: 15s
retries: 3
start_period: 120s
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
read_only: true
tmpfs: [/tmp]
networks:
default:
name: proxynet
external: true