turned base into uptime kuma deployment

This commit is contained in:
Bryan Joshua Pedini 2023-04-05 14:34:30 +02:00
parent 5ed1af1f7f
commit 3e5d24328b
4 changed files with 14 additions and 8 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 Bryan Joshua Pedini
Copyright (c) 2023 Bryan Joshua Pedini
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,2 +1 @@
# Base App Deployment
This is the base on which (almost) every deployment is sort-of-based on.
# Uptime Kuma Deployment

View File

@ -1,6 +1,7 @@
---
services:
app:
uptimekuma:
image: louislam/uptime-kuma:${UPTIMEKUMA_VERSION}
restart: unless-stopped
labels:
### Section Træfik
@ -29,6 +30,8 @@ services:
- diun.exclude_tags=${DIUN_EXCLUDE}
networks:
- traefik
volumes:
- ${UPTIMEKUMA_DATA}:/app/data
networks:
traefik:

View File

@ -1,10 +1,10 @@
# Træfik
TRAEFIK_ENABLED=true
TRAEFIK_NETWORK=traefik
TRAEFIK_ROUTER=app_example_com
TRAEFIK_SERVICE=app_example_com
TRAEFIK_SERVICE_PORT=80
TRAEFIK_MATCHRULE=Host(`app.example.com`)
TRAEFIK_ROUTER=uptime_example_com
TRAEFIK_SERVICE=uptime_example_com
TRAEFIK_SERVICE_PORT=3001
TRAEFIK_MATCHRULE=Host(`uptime.example.com`)
TRAEFIK_TLSENABLED=true
TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_HTTP_MIDDLEWARES=http-to-https
@ -16,3 +16,7 @@ DIUN_WATCHREPO=true
DIUN_SORTALGO=semver
DIUN_INCLUDE=
DIUN_EXCLUDE=
# Uptime Kuma
UPTIMEKUMA_VERSION=1.21.2
UPTIMEKUMA_DATA=./data/uptimekuma