OSDN Git Service

adds MySQL support.
[metasearch/grid-chef-repo.git] / cookbooks / screwdriver / templates / default / opt / docker-compose / app / screwdriver / .env
1 <%
2 # Note in this file:
3 #  - Do not use quotation marks (' or ").
4 #  - Do not use variable reference.
5 -%>
6 <% unless @jwt_private_key.nil? %>
7 SECRET_JWT_PRIVATE_KEY=<%= @jwt_private_key.dump.tr('"', '') %>
8 <% end %>
9 <% unless @jwt_public_key.nil? %>
10 SECRET_JWT_PUBLIC_KEY=<%= @jwt_public_key.dump.tr('"', '') %>
11 <% end %>
12 <% unless @cookie_password.nil? %>
13 SECRET_COOKIE_PASSWORD=<%= @cookie_password %>
14 <% end %>
15 <% unless @password.nil? %>
16 SECRET_PASSWORD=<%= @password %>
17 <% end %>
18 <% unless @oauth_client_id.nil? %>
19 SECRET_OAUTH_CLIENT_ID=<%= @oauth_client_id %>
20 <% end %>
21 <% unless @oauth_client_secret.nil? %>
22 SECRET_OAUTH_CLIENT_SECRET=<%= @oauth_client_secret %>
23 <% end %>
24 <% unless @webhook_github_secret.nil? %>
25 WEBHOOK_GITHUB_SECRET=<%= @webhook_github_secret %>
26 <% end %>
27 <% unless @db_username.nil? %>
28 DB_USERNAME=<%= @db_username %>
29 <% end %>
30 <% unless @db_password.nil? %>
31 DB_PASSWORD=<%= @db_password %>
32 <% end %>
33 <% unless @db_root_password.nil? %>
34 DB_ROOT_PASSWORD=<%= @db_root_password %>
35 <% end %>