ansible-drone/templates/drone.env.j2

15 lines
662 B
Plaintext
Raw Normal View History

2021-04-16 06:10:22 +00:00
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_gitea_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= postgress
DRONE_DATABASE_DATASOURCE=postgress://{{drone_db_user}}:{{drone_db_password|urlencode()}}@{{drone_db_host}}/{{drone_db_name}}?sslmode=disable
{% endif%}