small www

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-06 23:20:37 +02:00
1 parent 3d6c49df65
commit fda15b194b
7 files changed
+336 -72

No files matched your search

+17
View File
@@ -12,3 +12,20 @@ services:
- ./data:/var/lib/package-builder
- ./gpg:/run/secrets/gpg:ro
restart: unless-stopped
repository-http:
image: nginxinc/nginx-unprivileged:stable-alpine-slim
ports:
- "0.0.0.0:${HTTP_PORT:-18765}:8080"
volumes:
- ./data/repository:/srv/repository:ro
- ./http/nginx.conf:/etc/nginx/nginx.conf:ro
entrypoint: ["nginx", "-g", "daemon off;"]
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,size=16m
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
restart: unless-stopped