adding validated services? patching forcad_local.py

This commit is contained in:
Your Name
2026-08-13 08:32:35 +07:00
parent d485f61169
commit e795614e45
1459 changed files with 420036 additions and 436 deletions

View File

@@ -0,0 +1,10 @@
FROM ubuntu@sha256:c35e29c9450151419d9448b0fd75374fec4fff364a27f176fb458d472dfc9e54
RUN useradd ctf
COPY docker-entrypoint.sh /
WORKDIR /app
COPY grob .
CMD ["/docker-entrypoint.sh"]

View File

@@ -0,0 +1,33 @@
services:
grob:
build:
context: .
restart: unless-stopped
ports:
- "11331:11331"
volumes:
- history:/app/history
deploy:
resources:
limits:
cpus: 4
memory: 2048M
cleaner:
image: c4tbuts4d/dedcleaner
restart: unless-stopped
volumes:
- history:/history
environment:
- DELETE_AFTER=7m
- SLEEP=1m
- DIRS=/history
deploy:
resources:
limits:
cpus: '0.25'
memory: 128M
volumes:
history:

View File

@@ -0,0 +1,4 @@
#!/bin/sh
chown -R ctf:ctf /app/history
exec runuser -u ctf /app/grob

Binary file not shown.