mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-22 19:38:30 +00:00
baikal (#15)
* Create contacts-calendar Add new category * Delete contacts-calendar * Create Baikal.md * Delete Baikal.md * Create baikal.md * Update README.md
This commit is contained in:
parent
e274bfac70
commit
9ce2b18551
@ -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).
|
||||
|
74
apps/contacts-calendars/baikal.md
Normal file
74
apps/contacts-calendars/baikal.md
Normal file
@ -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.
|
||||
|
||||
<br>
|
||||
|
||||
- [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/)
|
Loading…
Reference in New Issue
Block a user