Skip to content

luneutic/teamotp

Repository files navigation

TeamOTP

Quick Start

Create the config file

mkdir data
nano data/config.toml

with content:

LdapHost = "169.254.42.10"
LdapDomain = "mydomain.com"

Internal Use: Create a self signed certificate. Move them to data/cert.pem and data/key.pem.

mkcert <internal IP>

Create and run docker-compose.yml:

services:
  teamotp:
    image: ghcr.io/luneutic/teamotp:0.1.0
    container_name: teamotp
    ports:
      - 6443:6443
    volumes:
      - ./data:/app/data

Building

# Local binary
go build -o teamotp.bin ./cmd/teamotp

# Or run directly
go run ./cmd/teamotp

# Docker container
DOCKER_BUILDKIT=1 docker build -t teamotp .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages