mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
chore: add yaml and toml dependencies, and create script for converting YAML to TOML
- Added 'yaml' and '@iarna/toml' dependencies in package.json. - Created a new script.js file to process YAML files and convert them to TOML format. - Added template.toml files for various blueprints in the blueprints directory.
This commit is contained in:
27
blueprints/discord-tickets/template.toml
Normal file
27
blueprints/discord-tickets/template.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
mysql_password = "${password}"
|
||||
mysql_root_password = "${password}"
|
||||
mysql_user = "tickets"
|
||||
mysql_database = "tickets"
|
||||
encryption_key = "${password:48}"
|
||||
|
||||
[config]
|
||||
env = [
|
||||
"TICKETS_HOST=${main_domain}",
|
||||
"MYSQL_DATABASE=${mysql_database}",
|
||||
"MYSQL_PASSWORD=${mysql_password}",
|
||||
"MYSQL_ROOT_PASSWORD=${mysql_root_password}",
|
||||
"MYSQL_USER=${mysql_user}",
|
||||
"ENCRYPTION_KEY=${encryption_key}",
|
||||
"# Follow the guide at: https://discordtickets.app/self-hosting/installation/docker/#creating-the-discord-application",
|
||||
"DISCORD_SECRET=",
|
||||
"DISCORD_TOKEN=",
|
||||
"SUPER_USERS=YOUR_DISCORD_USER_ID"
|
||||
]
|
||||
mounts = [ ]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "tickets-app"
|
||||
port = 8_169
|
||||
host = "${main_domain}"
|
||||
Reference in New Issue
Block a user