change to golang

This commit is contained in:
2025-12-10 14:27:04 +11:00
parent 53852868aa
commit 64f9da1549
18 changed files with 612 additions and 455 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
version: "3.9"
services:
passgen:
build:
context: .
dockerfile: Dockerfile
container_name: passphrase-generator
environment:
# Path to the wordlist inside the container
WORDLIST: /app/words.txt
# Port the Go server listens on inside the container
PORT: "8000"
ports:
# host:container
- "8000:8000"
restart: unless-stopped