add digitalocean 1 click deployment support

This commit is contained in:
Smith
2022-06-18 10:04:37 +02:00
parent 19b1c15342
commit bfe02043c1
2 changed files with 26 additions and 3 deletions

22
.do/deploy.template.yaml Normal file
View File

@@ -0,0 +1,22 @@
spec:
name: game-server-watcher
services:
- name: web
git:
branch: master
repo_clone_url: https://github.com/a-sync/game-server-watcher.git
envs:
- key: SECRET
scope: RUN_TIME
- key: REFRESH_TIME_MINUTES
scope: RUN_TIME
value: "5"
- key: DISCORD_BOT_TOKEN
scope: RUN_TIME
value: ""
- key: TELEGRAM_BOT_TOKEN
scope: RUN_TIME
value: ""
- key: STEAM_WEB_API_KEY
scope: RUN_TIME
value: ""

View File

@@ -117,9 +117,10 @@ _The bot has no cleanup functionality, left over messages must be removed manual
# Deployment
Check the wiki page for detailed instructions on [how to setup a self deploying free cloud instance at cloudno.de](https://github.com/a-sync/game-server-watcher/wiki/Free-hosting-via-cloudno.de).
<p align="center">
<a href="https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2Fa-sync%2Fgame-server-watcher"><img src="https://www.herokucdn.com/deploy/button.svg" height="40" alt="Deploy to Heroku"></a>
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fa-sync%2Fgame-server-watcher%2Fmaster%2Fazuredeploy.json"><img src="https://aka.ms/deploytoazurebutton" height="40" alt="Deploy to Azure"></a>
<a href="https://deploy.cloud.run?git_repo=https%3A%2F%2Fgithub.com%2Fa-sync%2Fgame-server-watcher"><img src="https://deploy.cloud.run/button.svg" height="40" alt="Run on Google Cloud"></a>
<a href="https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2Fa-sync%2Fgame-server-watcher"><img src="https://www.herokucdn.com/deploy/button.svg" height="32" alt="Deploy to Heroku"></a>
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fa-sync%2Fgame-server-watcher%2Fmaster%2Fazuredeploy.json"><img src="https://aka.ms/deploytoazurebutton" height="32" alt="Deploy to Azure"></a>
<a href="https://deploy.cloud.run?git_repo=https%3A%2F%2Fgithub.com%2Fa-sync%2Fgame-server-watcher"><img src="https://deploy.cloud.run/button.svg" height="32" alt="Run on Google Cloud"></a>
<a href="https://cloud.digitalocean.com/apps/new?repo=https%3A%2F%2Fgithub.com%2Fa-sync%2Fgame-server-watcher%2Ftree%2Fmaster"><img src="https://www.deploytodo.com/do-btn-blue.svg" height="32" alt="Deploy to DigitalOcean"></a>
</p>
## Hosting