ansible-drone/templates/drone.env.j2

15 lines
711 B
Plaintext
Raw Permalink 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}}
2021-04-18 14:14:56 +00:00
DRONE_RPC_PROTO={{drone_server_proto}}
2021-04-16 06:10:22 +00:00
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 %}
2021-04-18 14:14:56 +00:00
DRONE_DATABASE_DRIVER=postgres
2021-07-10 18:59:41 +00:00
DRONE_DATABASE_DATASOURCE=postgres://{{drone_db_user}}:{{drone_db_password|urlencode()}}@{{drone_db_host}}/{{drone_db_name}}?sslmode=disable
2021-04-16 06:10:22 +00:00
{% endif%}
2021-07-10 18:59:41 +00:00
DRONE_USER_CREATE=username:{{drone_user}},admin:true