Skip to content

Commit

Permalink
build: remove uptime-kuma
Browse files Browse the repository at this point in the history
Remove uptime-kuma because we don't want the monitoring system to live on the
system that we are monitoring in the first place. Monitoring has been replaced
by alerts set up on DigitalOcean, where the bot is currently being hosted.

While we're updating the Compose file, remove the `version` field, which has
reportedly been deprecated.
  • Loading branch information
gabrielwong159 committed Sep 21, 2024
1 parent ce53516 commit ef5c92a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include .env
.PHONY: up db-shell certbot-init certbot-renew help

up: ## Start necessary services for app (certbot not included)
docker compose up -d nginx telebot grafana uptime_kuma
docker compose up -d nginx telebot grafana

db-shell: ## Create Postgres shell
docker compose exec db psql -U ${POSTGRES_USER} -d ${POSTGRES_DB}
Expand Down
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.3'

services:
db:
image: postgres:9.5
Expand All @@ -13,7 +11,6 @@ services:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
restart: "on-failure"


db_api:
depends_on:
- db
Expand Down Expand Up @@ -106,14 +103,6 @@ services:
ports:
- "3000:3000"

uptime_kuma:
image: louislam/uptime-kuma:1
volumes:
- ./hosts/uptime-kuma/data:/app/data
ports:
- "3001:3001"
restart: "always"

volumes:
certbot-www:
certbot-conf:

0 comments on commit ef5c92a

Please sign in to comment.