Files
twofauth-rs/compose.yaml
T
wt cf25e28c28
Rust verification / test (push) Successful in 4m10s
initial commit
2026-10-28 15:59:54 +07:00

24 lines
511 B
YAML

services:
rust:
build: .
ports:
- "127.0.0.1:8080:8080"
environment:
DATABASE_URL: sqlite:///data/2fauth.sqlite
LISTEN_ADDR: 0.0.0.0:8080
# Only for the local HTTP development port. Use true behind HTTPS.
RUST_COOKIE_SECURE: "false"
RUST_LOG: twofauth_rs=info
volumes:
- rust-dev-data:/data
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
init: true
volumes:
rust-dev-data: