mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-07-28 14:47:17 -07:00
Fix translator directive corruption and add Docker Compose (#325)
Co-authored-by: Hermes <hermes@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user