2024-03-16 08:40:24 +00:00
|
|
|
services:
|
2024-04-09 12:22:05 +00:00
|
|
|
website:
|
Basic CardDav UI (Contacts)
This implements a basic CardDav UI, titled "Contacts". It allows creating new contacts with a first name + last name, and editing their first and last names, main email, main phone, and notes.
You can also import and export VCF (VCARD) files.
It also allows editing the VCARD directly, for power users.
Additionally, you can choose, create, or delete address books, and if there's no address book created yet in your CardDav server (first-time setup), it'll automatically create one, titled "Contacts".
Finally, there are some dependency updates and a fix for the config not allowing disabling the `cardDav` or the `calDav` server.
Related to #56
2025-08-10 06:48:16 +00:00
|
|
|
image: ghcr.io/bewcloud/bewcloud:v2.4.0
|
2024-04-09 12:22:05 +00:00
|
|
|
restart: always
|
|
|
|
|
ports:
|
|
|
|
|
- 127.0.0.1:8000:8000
|
|
|
|
|
mem_limit: '256m'
|
2024-04-09 19:03:21 +00:00
|
|
|
env_file:
|
|
|
|
|
- path: .env
|
|
|
|
|
required: true
|
2024-04-09 12:22:05 +00:00
|
|
|
volumes:
|
|
|
|
|
- ./data-files:/app/data-files
|
2025-06-20 11:04:16 +00:00
|
|
|
- ./bewcloud.config.ts:/app/bewcloud.config.ts
|
2024-04-09 12:22:05 +00:00
|
|
|
|
2024-03-16 08:40:24 +00:00
|
|
|
postgresql:
|
Migrate email provider (from Brevo to generic SMTP) (#67)
This means we now need to have the text and HTML content set in the code, which is arguably better.
In order to avoid allowing legacy Brevo API Key support, this will also introduce breaking changes and will be released as v2.0.0.
I took the opportunity to remove a few deprecated things (like legacy ENV-based config), upgrade PostgreSQL, and pin a specific version in `docker-compose.yml`, since I don't plan to do breaking releases anytime soon, and upgrading PostgreSQL should be fine from now on if the version is pinned.
If you were using Brevo with an API Key, they support SMTP as well, just update your config.
If you were using ENV-based config, check `bewcloud.config.sample.ts`to create your `bewcloud.config.ts`.
If you need help upgrading you PostgreSQL container, I've written a simple guide [step-by-step guide](https://news.onbrn.com/step-by-step-guide-upgrading-postgresql-docker-containers/).
2025-06-10 09:28:13 +00:00
|
|
|
image: postgres:17
|
2024-03-16 08:40:24 +00:00
|
|
|
environment:
|
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
|
- POSTGRES_PASSWORD=fake
|
|
|
|
|
- POSTGRES_DB=bewcloud
|
Migrate email provider (from Brevo to generic SMTP) (#67)
This means we now need to have the text and HTML content set in the code, which is arguably better.
In order to avoid allowing legacy Brevo API Key support, this will also introduce breaking changes and will be released as v2.0.0.
I took the opportunity to remove a few deprecated things (like legacy ENV-based config), upgrade PostgreSQL, and pin a specific version in `docker-compose.yml`, since I don't plan to do breaking releases anytime soon, and upgrading PostgreSQL should be fine from now on if the version is pinned.
If you were using Brevo with an API Key, they support SMTP as well, just update your config.
If you were using ENV-based config, check `bewcloud.config.sample.ts`to create your `bewcloud.config.ts`.
If you need help upgrading you PostgreSQL container, I've written a simple guide [step-by-step guide](https://news.onbrn.com/step-by-step-guide-upgrading-postgresql-docker-containers/).
2025-06-10 09:28:13 +00:00
|
|
|
restart: always
|
2024-03-16 08:40:24 +00:00
|
|
|
volumes:
|
2024-04-09 12:22:05 +00:00
|
|
|
- bewcloud-db:/var/lib/postgresql/data
|
2024-03-16 08:40:24 +00:00
|
|
|
ports:
|
2024-04-09 12:22:05 +00:00
|
|
|
- 127.0.0.1:5432:5432
|
2024-03-16 08:40:24 +00:00
|
|
|
ulimits:
|
|
|
|
|
memlock:
|
|
|
|
|
soft: -1
|
|
|
|
|
hard: -1
|
2024-04-09 12:22:05 +00:00
|
|
|
mem_limit: '256m'
|
2024-03-16 08:40:24 +00:00
|
|
|
|
2025-07-20 09:35:32 +00:00
|
|
|
# NOTE: If you don't want to use the CardDav/CalDav servers, you can comment/remove this service.
|
|
|
|
|
radicale:
|
|
|
|
|
image: tomsquest/docker-radicale:3.5.4.0
|
|
|
|
|
ports:
|
|
|
|
|
- 127.0.0.1:5232:5232
|
|
|
|
|
init: true
|
|
|
|
|
read_only: true
|
|
|
|
|
security_opt:
|
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
cap_drop:
|
|
|
|
|
- ALL
|
|
|
|
|
cap_add:
|
|
|
|
|
- SETUID
|
|
|
|
|
- SETGID
|
|
|
|
|
- CHOWN
|
|
|
|
|
- KILL
|
|
|
|
|
restart: always
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data-radicale:/data
|
|
|
|
|
- ./radicale-config:/config:ro
|
|
|
|
|
mem_limit: '256m'
|
|
|
|
|
|
2024-03-16 08:40:24 +00:00
|
|
|
volumes:
|
2024-04-09 12:22:05 +00:00
|
|
|
bewcloud-db:
|
2024-03-16 08:40:24 +00:00
|
|
|
driver: local
|