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

[WIP] DigitalOcean App Platform deployment button #215

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
spec:
name: tg-spam
services:
- name: tg-spam
image:
registry_type: DOCKER_HUB
registry: umputun
repository: tg-spam
tag: master
instance_size_slug: basic-xxs
health_check:
http_path: /ping
envs:
- key: TELEGRAM_TOKEN
scope: RUN_TIME
value: "Replace with your Telegram token"
- key: TELEGRAM_GROUP
scope: RUN_TIME
value: "Replace with your Telegram group name (without @) or id"
- key: SERVER_ENABLED
scope: RUN_TIME
value: "true"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ TG-Spam can also run as a server, providing a simple HTTP API to check messages
- Binary releases are also available on the [releases page](https://github.com/umputun/tg-spam/releases/latest).
- TG-Spam can be installed by cloning the repository and building the binary from source by running `make build`.
- It can also be installed using `brew tap umputun/apps && brew install umputun/apps/tg-spam` on macOS.
- Deploy TG-Spam to the DigitalOcean App Platform with just one click:

[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/slyapustin/tg-spam/tree/do-deployment-button&refcode=08ce1ee690de)

**Install guide for non-technical users is available [here](/INSTALL.md)**

Expand Down