Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create DigitalOcean app spec & Docker support #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .do/deploy.template.yml
Original file line number Diff line number Diff line change
@@ -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: "!"