diff --git a/.do/deploy.template.yml b/.do/deploy.template.yml new file mode 100644 index 0000000..99d9af5 --- /dev/null +++ b/.do/deploy.template.yml @@ -0,0 +1,42 @@ +spec: + name: hypixel-discord-chat-bridge + workers: + - name: hypixel-discord-chat-bridge + dockerfile_path: Dockerfile + github: + branch: do-spec + deploy_on_push: true + repo: Senither/hypixel-discord-chat-bridge + instance_count: 1 + instance_size_slug: basic-xs + envs: + - key: SERVER_HOST + scope: RUN_AND_BUILD_TIME + value: "mc.hypixel.net" + - key: SERVER_PORT + scope: RUN_AND_BUILD_TIME + value: "25565" + - key: MINECRAFT_USERNAME + scope: RUN_AND_BUILD_TIME + value: "yourUsername" + - key: MINECRAFT_PASSWORD + scope: RUN_AND_BUILD_TIME + value: "yourPassword" + - key: MINECRAFT_ACCOUNT_TYPE + scope: RUN_AND_BUILD_TIME + value: "mojang" + - key: DISCORD_TOKEN + scope: RUN_AND_BUILD_TIME + value: "yourDiscordToken" + - key: DISCORD_CHANNEL + scope: RUN_AND_BUILD_TIME + value: "discordChannelId" + - key: DISCORD_COMMAND_ROLE + scope: RUN_AND_BUILD_TIME + value: "discordCommandRoleId" + - key: DISCORD_OWNER_ID + scope: RUN_AND_BUILD_TIME + value: "discordOwnerId" + - key: DISCORD_PREFIX + scope: RUN_AND_BUILD_TIME + value: "!"