123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #!/bin/sh
- #### Configs - edit them to suit your needs!
- ### Repo provider ###
- # Available values:
- # - gitea (enter this if you use codeberg.org)
- # - gogs (enter this if you use notabug.org)
- export REPO_PROVIDER=''
- ### Repo related ###
- ## Repo server
- # In case you use Gitea/codeberg.org: 'https://codeberg.org', 'https://gitea.example.org'
- # In case you use Gogs/notabug.org: 'https://notabug.org', 'https://gogs.example.org'
- export REPO_SERVER=''
- # Get it from your account settings.
- # Check docs/config.md for details on how to get it.
- export REPO_CLIENT_ID=''
- # Get it from your account settings.
- # Check docs/config.md for details on how to get it.
- export REPO_CLIENT_SECRET=''
- # Your repo login username
- export REPO_USERNAME=''
- ### Drone related ###
- # Shared secret you created with openssl
- # Run 'openssl rand -hex 16' to get one
- export DRONE_RPC_SECRET=''
- # The url you got from pgrok, without "https://", set to 'AUTO' to get automatically (requires pgrok, localtunnel or tunnelto)
- export DRONE_SERVER_HOST='AUTO'
- # The protocol should be used to access $DRONE_SERVER_HOST. Set to 'http' or 'https'.
- export DRONE_SERVER_PROTO='https'
- ### Tunneling service config ###
- ## Localhost tunneling service to use
- # Available values:
- # - pgrok
- # - localtunnel
- # - tunnelto
- export TUNNELING_SERVICE='pgrok'
- ## Preferred subdomain (some services may not respect this)
- # Default value: "`uname -n`-drone"
- export TUNNELING_SERVICE_SUBDOMAIN="`uname -n`drone"
- ## tunnelto.dev config
- # tunnelto.dev API key. Required only if you use tunnelto for tunneling. Otherwise leave as it is.
- export TUNNELTO_API_KEY=''
- #### Runner related configs
- # Change them if you use other domain/subdomain for runner. Otherwise leave them as is.
- export DRONE_RPC_PROTO="${DRONE_SERVER_PROTO}"
- export DRONE_RPC_HOST="${DRONE_SERVER_HOST}"
- #### Docker image names
- export DOCKER_MAIN_NAME="local-droney-main"
- export DOCKER_RUNNER_NAME="local-droney-runner"
|