Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
  • 0d9fbc1ad7122f3f1c35a179a825440b3ef978f7
  • master default protected
  • develop
  • add-news
  • torrentz
  • v4.0.31
  • v4.0.30
  • v4.0.29
  • v4.0.28
  • v4.0.27
  • v4.0.26
  • v4.0.25
  • v4.0.24
  • v4.0.23
  • v4.0.22
  • v4.0.21
  • v4.0.20
  • v4.0.19
  • v4.0.18
  • v4.0.17
  • v4.0.16
  • v4.0.15
  • v4.0.14
  • v4.0.13
  • v4.0.12
25 results

COPYING.txt

Blame
  • This project is licensed under the GNU General Public License v3.0 only. Learn more
    .env 1.08 KiB
    # IP address to listen to
    SERVER=0.0.0.0
    # port to bind
    PORT=8080
    # Gin framework release mode
    GIN_MODE=release
    # where to write all generated config files
    WG_CONF_DIR=./wireguard
    # WireGuard main config file name, generally <interface name>.conf
    WG_INTERFACE_NAME=wg0.conf
    
    # SMTP settings to send email to clients
    SMTP_HOST=smtp.gmail.com
    SMTP_PORT=587
    SMTP_USERNAME=account@gmail.com
    SMTP_PASSWORD=*************
    SMTP_FROM=Wg Gen Web <account@gmail.com>
    
    # example with gitlab, which is RFC implementation and no need any custom stuff
    OAUTH2_PROVIDER_NAME=oauth2oidc
    OAUTH2_PROVIDER=https://gitlab.com
    OAUTH2_CLIENT_ID=
    OAUTH2_CLIENT_SECRET=
    OAUTH2_REDIRECT_URL=https://wg-gen-web-demo.127-0-0-1.fr
    
    # example with google
    OAUTH2_PROVIDER_NAME=google
    OAUTH2_PROVIDER=
    OAUTH2_CLIENT_ID=
    OAUTH2_CLIENT_SECRET=
    OAUTH2_REDIRECT_URL=
    
    # example with github
    OAUTH2_PROVIDER_NAME=github
    OAUTH2_PROVIDER=https://github.com
    OAUTH2_CLIENT_ID=
    OAUTH2_CLIENT_SECRET=
    OAUTH2_REDIRECT_URL=https://wg-gen-web-demo.127-0-0-1.fr
    
    # set provider name to fake to disable auth, also the default
    OAUTH2_PROVIDER_NAME=fake