From 9ce2b18551165922c4a9038581e651427dedfcfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=93=B0=E1=95=B5=E1=95=B5=E1=93=8D?=
<52239579+ippocratis@users.noreply.github.com>
Date: Thu, 2 Mar 2023 11:20:02 +0200
Subject: [PATCH 1/3] baikal (#15)
* Create contacts-calendar
Add new category
* Delete contacts-calendar
* Create Baikal.md
* Delete Baikal.md
* Create baikal.md
* Update README.md
---
README.md | 3 ++
apps/contacts-calendars/baikal.md | 74 +++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
create mode 100644 apps/contacts-calendars/baikal.md
diff --git a/README.md b/README.md
index c19123d..91a81b8 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,9 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
- [Nginx-WebDav](apps/cloud/nginx-webdav.md)
+# Contacts - calendars
+- [Baikal](apps/contacts-calendars/baikal.md)
+
# Cookbook
- [NextCloud Cookbook](https://apps.nextcloud.com/apps/cookbook) 🔗 - quite good. Can import from URL (some pages), but manually editing longer recipes is a bit of a pain (you need to add and paste every single ingredient & preparation step one-by-one).
diff --git a/apps/contacts-calendars/baikal.md b/apps/contacts-calendars/baikal.md
new file mode 100644
index 0000000..b538c58
--- /dev/null
+++ b/apps/contacts-calendars/baikal.md
@@ -0,0 +1,74 @@
+# Baikal
+
+lightweight CalDAV+CardDAV server. It offers an extensive web interface with easy management of users, address books and calendars. It is fast and simple to install and only needs a basic php capable server. The data can be stored in a MySQL or a SQLite database.
+
+
+
+- [Github repo](https://github.com/ckulka/baikal-docker)
+- [Homepage](https://sabre.io/baikal/)
+
+## docker-compose
+
+```yml
+---
+services:
+ baikal:
+ image: ckulka/baikal:nginx
+ depends_on:
+ - baikal-db
+ restart: unless-stopped
+ ports:
+ - "8456:80"
+ volumes:
+ - ./config:/var/www/baikal/config
+ - ./Specific:/var/www/baikal/Specific
+ networks:
+ - baikal-network
+
+ baikal-db:
+ image: mariadb:latest
+ restart: unless-stopped
+ volumes:
+ - ./mysql-data:/var/lib/mysql
+ - ./mysql:/etc/mysql/conf.d
+ ports:
+ - "4406:3306"
+ environment:
+ - MYSQL_ROOT_PASSWORD=rootpassword
+ - MYSQL_DATABASE=baikal-db
+ - MYSQL_USER=user
+ - MYSQL_PASSWORD=password
+ networks:
+ - baikal-network
+
+networks:
+ baikal-network:
+```
+
+## Tips & tricks
+
+### Create and chown the mounting folders before running docker-compose up
+
+`mkdir -p config Specific`
+
+And
+
+`chown -R 101:101 config Specific`
+
+
+
+### Create admin and users(s)
+
+From the web panel setup admin and auth method
+
+Enable mysql
+
+And under database host fill the host lan IP with the database port as mapped in the docker-compose e.g. 192.168.1.24:4406
+
+Then create a user
+
+### Android caldav carddav client
+
+On DAVx5 use Base URL: /dav.php/
+
+(e.g. https://server.example/dav.php/)
From bcaaf4928c2556c78c61c778f0067635248c7be0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=93=B0=E1=95=B5=E1=95=B5=E1=93=8D?=
<52239579+ippocratis@users.noreply.github.com>
Date: Sun, 5 Mar 2023 11:43:19 +0200
Subject: [PATCH 2/3] Create monocker.md (#16)
* Create monocker.md
Added monocker to monitors
* Update monocker.md
---
apps/monitors/monocker.md | 52 +++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 apps/monitors/monocker.md
diff --git a/apps/monitors/monocker.md b/apps/monitors/monocker.md
new file mode 100644
index 0000000..f54e3db
--- /dev/null
+++ b/apps/monitors/monocker.md
@@ -0,0 +1,52 @@
+# Monocker
+
+Monocker monitors Docker (MONitors dOCKER) containers and alerts on 'state' change.
+There is no web ui or fancy dashboard.
+
+
+
+- [Github repo](https://github.com/petersem/monocker)
+
+
+## docker-compose
+
+```yml
+---
+services:
+ monocker:
+ container_name: monocker
+ image: petersem/monocker
+ environment:
+ SERVER_LABEL: 'Dev'
+ MESSAGE_PLATFORM: 'telegram@your_bot_id@your_chat_id'
+ # MESSAGE_PLATFORM: 'pushbullet@your_api_key@your_device_id'
+ # MESSAGE_PLATFORM: 'pushover@your_user_key@your_app_api_token'
+ # MESSAGE_PLATFORM: 'discord@webhook_url'
+ LABEL_ENABLE: 'false'
+ ONLY_OFFLINE_STATES: 'false'
+ EXCLUDE_EXITED: 'false'
+ PERIOD: 60
+ DISABLE_STARTUP_MSG: 'false'
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ restart: unless-stopped
+```
+
+## Tips & tricks
+
+### raspberry pi and arm users
+
+There is only amd64 image available, you have to build.
+
+`get clone https://github.com/petersem/monocker`
+
+
+Change `FROM node:14.17.3-alpine3.14` to `FROM node:latest` in the Dockerfile
+
+And `docker build -t monocker .`
+
+Also change `image: petersem/monocker` to `image: monocker` in the docker-compose.yml
+
+### telegram notifications
+
+Contact @botfather, create a bot and copy its token then start a chat with the bot and use the inline command @get_id_bot and copy the chat id
From 72b3f0ea976615e42faef27bfbd062273488f032 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=93=B0=E1=95=B5=E1=95=B5=E1=93=8D?=
<52239579+ippocratis@users.noreply.github.com>
Date: Sun, 5 Mar 2023 11:43:31 +0200
Subject: [PATCH 3/3] Update README.md (#17)
Added monocker
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index 91a81b8..67ff326 100644
--- a/README.md
+++ b/README.md
@@ -253,6 +253,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
- [Uptime Kuma](apps/monitors/uptime-kuma.md)
- [PhpServerMonitor](apps/monitors/php-server-monitor.md)
- [Statping](apps/monitors/statping.md)
+- [Monocker](apps/monitors/monocker.md)
### Other, not-fully tested