Files
hacktricks-cloud/docker-compose.yml
T

20 lines
562 B
YAML

# 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