Files
bewcloud/docker-compose.yml
Bruno Bernardino 289f34fe8e 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 07:48:16 +01:00

57 lines
1.2 KiB
YAML

services:
website:
image: ghcr.io/bewcloud/bewcloud:v2.4.0
restart: always
ports:
- 127.0.0.1:8000:8000
mem_limit: '256m'
env_file:
- path: .env
required: true
volumes:
- ./data-files:/app/data-files
- ./bewcloud.config.ts:/app/bewcloud.config.ts
postgresql:
image: postgres:17
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=fake
- POSTGRES_DB=bewcloud
restart: always
volumes:
- bewcloud-db:/var/lib/postgresql/data
ports:
- 127.0.0.1:5432:5432
ulimits:
memlock:
soft: -1
hard: -1
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:
- 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'
volumes:
bewcloud-db:
driver: local