Made app more modular.

Fixed some bugs.
Added some functionality.
This commit is contained in:
m0rph3us1987
2026-01-21 18:59:14 +01:00
parent 5802b80d61
commit 40f496c3f2
18 changed files with 1709 additions and 1535 deletions

View File

@@ -1,9 +1,15 @@
services:
ctf-app:
ctf-platform:
build: .
container_name: hipctf
ports:
- "3000:3000"
- "3001:3000"
volumes:
# Map the local data directory to the container's DB path
- ./data:/app/data
# Map the uploads directory for persistent challenge files
- ./uploads:/app/uploads
environment:
- NODE_ENV=production
restart: unless-stopped
- PORT=3000
restart: unless-stopped