53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
# Wine CSP Service Environment Configuration
|
|
# ===========================================================================
|
|
#
|
|
# WARNING: This service is for TEST VECTOR GENERATION ONLY.
|
|
# It MUST NOT be used for production cryptographic signing operations.
|
|
#
|
|
# ===========================================================================
|
|
|
|
# Service port (default: 5099)
|
|
WINE_CSP_PORT=5099
|
|
|
|
# Operation mode:
|
|
# - limited: Works without CryptoPro CSP (basic GostCryptography only)
|
|
# - full: Requires CryptoPro CSP installer to be mounted at WINE_CSP_INSTALLER_PATH
|
|
WINE_CSP_MODE=limited
|
|
|
|
# Path to CryptoPro CSP installer MSI (customer-provided)
|
|
# Mount your licensed CSP installer to /opt/cryptopro/csp-installer.msi
|
|
WINE_CSP_INSTALLER_PATH=/opt/cryptopro/csp-installer.msi
|
|
|
|
# Logging level: Trace, Debug, Information, Warning, Error, Critical
|
|
WINE_CSP_LOG_LEVEL=Information
|
|
|
|
# Image version tag
|
|
WINE_CSP_VERSION=2025.10.0-edge
|
|
|
|
# ASP.NET Core environment (Development, Staging, Production)
|
|
ASPNETCORE_ENVIRONMENT=Production
|
|
|
|
# ===========================================================================
|
|
# Advanced Configuration (typically not changed)
|
|
# ===========================================================================
|
|
|
|
# Wine debug output (set to "warn+all" for troubleshooting)
|
|
# WINEDEBUG=-all
|
|
|
|
# Wine architecture (must be win64 for CryptoPro CSP)
|
|
# WINEARCH=win64
|
|
|
|
# ===========================================================================
|
|
# Volume Mounts (configure in docker-compose, not here)
|
|
# ===========================================================================
|
|
# - Wine prefix: /home/winecsp/.wine (persistent storage)
|
|
# - CSP installer: /opt/cryptopro (read-only mount)
|
|
# - Logs: /var/log/wine-csp (log output)
|
|
# - CSP packages: /opt/cryptopro/downloads (bind from <repo>/opt/cryptopro/downloads)
|
|
#
|
|
# Example mount for CSP installer:
|
|
# volumes:
|
|
# - /path/to/your/csp-5.0.msi:/opt/cryptopro/csp-installer.msi:ro
|
|
# volumes:
|
|
# - ../../opt/cryptopro/downloads:/opt/cryptopro/downloads:ro
|