Fix translator directive corruption and add Docker Compose (#325)

Co-authored-by: Hermes <hermes@users.noreply.github.com>
This commit is contained in:
SirBroccoli
2026-07-19 00:24:24 +02:00
committed by GitHub
co-authored by Hermes
parent ffeb93ee6b
commit a2c70780d3
5 changed files with 124 additions and 6 deletions
+19
View File
@@ -0,0 +1,19 @@
# Run locally: docker compose up -> http://localhost:3377
services:
hacktricks-cloud:
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
platform: linux/amd64 # published image is amd64-only
container_name: hacktricks_cloud
ports:
- "3377:3000"
volumes:
- .:/app
working_dir: /app
environment:
MDBOOK_PREPROCESSOR__HACKTRICKS__ENV: dev
command:
- bash
- -c
- >
git config --global --add safe.directory /app &&
mdbook serve --hostname 0.0.0.0 --port 3000