2024-04-09 12:22:05 +00:00
|
|
|
services:
|
|
|
|
|
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-04-09 12:22:05 +00:00
|
|
|
environment:
|
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
|
- POSTGRES_PASSWORD=fake
|
|
|
|
|
- POSTGRES_DB=bewcloud
|
|
|
|
|
restart: on-failure
|
|
|
|
|
volumes:
|
|
|
|
|
- pgdata:/var/lib/postgresql/data
|
|
|
|
|
ports:
|
|
|
|
|
- 5432:5432
|
|
|
|
|
ulimits:
|
|
|
|
|
memlock:
|
|
|
|
|
soft: -1
|
|
|
|
|
hard: -1
|
2025-07-20 09:35:32 +00:00
|
|
|
mem_limit: '256m'
|
|
|
|
|
|
|
|
|
|
# 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:
|
Basic CalDav UI (Calendar)
This implements a basic CalDav UI, titled "Calendar". It allows creating new calendars and events with a start and end date, URL, location, and description.
You can also import and export ICS (VCALENDAR + VEVENT) files.
It allows editing the ICS directly, for power users.
Additionally, you can hide/display events from certain calendars, change their names and their colors. If there's no calendar created yet in your CalDav server (first-time setup), it'll automatically create one, titled "Calendar".
You can also change the display timezone for the calendar from the settings.
Finally, there's some minor documentation fixes and some other minor tweaks.
Closes #56
Closes #89
2025-09-06 11:46:13 +00:00
|
|
|
- 5232:5232
|
2025-07-20 09:35:32 +00:00
|
|
|
init: true
|
|
|
|
|
read_only: true
|
|
|
|
|
security_opt:
|
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
cap_drop:
|
|
|
|
|
- ALL
|
|
|
|
|
cap_add:
|
|
|
|
|
- SETUID
|
|
|
|
|
- SETGID
|
|
|
|
|
- CHOWN
|
|
|
|
|
- KILL
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data-radicale:/data
|
|
|
|
|
- ./radicale-config:/config:ro
|
|
|
|
|
mem_limit: '256m'
|
2024-04-09 12:22:05 +00:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
pgdata:
|
|
|
|
|
driver: local
|