change to golang
This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user