mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
This allows not enabling Dashboard and Files. It also sorts the apps in the menu according to the order in the `config.core.enabledApps` array. Since this will require a major version upgrade (`v3.0.0`), I also took the opportunity to upgrade PostgreSQL. You can [follow this guide on how to upgrade PostgreSQL on Docker containers](https://news.onbrn.com/step-by-step-guide-upgrading-postgresql-docker-containers/). Finally, this has some minor security improvements (confirming API endpoints won't work if their app is disabled in the config). Closes #114 Closes #108
43 lines
887 B
YAML
43 lines
887 B
YAML
services:
|
|
postgresql:
|
|
image: postgres:18.1
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=fake
|
|
- POSTGRES_DB=bewcloud
|
|
restart: on-failure
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/18/docker
|
|
ports:
|
|
- 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.8.2
|
|
ports:
|
|
- 5232:5232
|
|
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'
|
|
|
|
volumes:
|
|
pgdata:
|
|
driver: local
|