# ============================================
# TeamPass Docker Environment Configuration
# ============================================

# ----------------------------------------
# Version
# ----------------------------------------
TEAMPASS_VERSION=latest
MARIADB_VERSION=11.2

# ----------------------------------------
# Network Configuration
# ----------------------------------------
# Port on which TeamPass will be accessible
TEAMPASS_PORT=8080

# Public URL of your TeamPass instance
TEAMPASS_URL=http://localhost:8080

# ----------------------------------------
# Database Configuration
# ----------------------------------------
DB_NAME=teampass
DB_USER=teampass
DB_PASSWORD=T3@mpassDB!2024
DB_PREFIX=teampass_

# MariaDB root password
MARIADB_ROOT_PASSWORD=T3@mpassRoot!2024

# ----------------------------------------
# Installation Mode
# ----------------------------------------
# Options: manual | auto
# - manual: You will need to complete installation via web browser (default)
# - auto: Fully automated installation using the parameters below
INSTALL_MODE=manual

# ----------------------------------------
# Auto-Installation Parameters
# (Only used if INSTALL_MODE=auto)
# ----------------------------------------
ADMIN_EMAIL=admin@teampass.local
ADMIN_PWD=SecureAdminPassword789!

# ----------------------------------------
# PHP Configuration
# ----------------------------------------
PHP_MEMORY_LIMIT=512M
PHP_UPLOAD_MAX_FILESIZE=100M
PHP_MAX_EXECUTION_TIME=120

# ----------------------------------------
# SSL Configuration (with nginx-proxy)
# Uncomment these lines if using the nginx-proxy service
# ----------------------------------------
# VIRTUAL_HOST=teampass.example.com
# LETSENCRYPT_HOST=teampass.example.com
# LETSENCRYPT_EMAIL=admin@example.com
# CERT_NAME=teampass.example.com

# ----------------------------------------
# Backup Configuration (optional)
# ----------------------------------------
# BACKUP_ENABLED=true
# BACKUP_SCHEDULE=0 2 * * *
# BACKUP_RETENTION_DAYS=7

# ----------------------------------------
# Security
# ----------------------------------------
# Change these in production!
# Generate secure passwords: openssl rand -base64 32
