DRONE_GITEA_SERVER={{drone_gitea_server}} DRONE_GITEA_CLIENT_ID={{drone_gitea_client_id}} DRONE_GITEA_CLIENT_SECRET={{drone_gitea_client_secret}} DRONE_GITEA_ALWAYS_AUTH={{drone_gitea_always_auth}} DRONE_RPC_SECRET={{drone_RPC_secret}} DRONE_RPC_HOST={{drone_server_host}} DRONE_RPC_PROTO={{drone_server_proto}} DRONE_SERVER_HOST={{drone_server_host}} DRONE_SERVER_PROTO={{drone_server_proto}} {% if drone_db_external and drone_db_host and drone_db_name and drone_db_name %} DRONE_DATABASE_DRIVER=postgres DRONE_DATABASE_DATASOURCE=postgres://{{drone_db_user}}:{{drone_db_password|urlencode()}}@{{drone_db_host}}/{{drone_db_name}}?sslmode=disable {% endif%}