From 747874c9257d43f70135b96c4e43d4b600806c94 Mon Sep 17 00:00:00 2001 From: Tim Bendt Date: Mon, 1 Dec 2025 08:42:13 -0500 Subject: [PATCH] mostly unneeded --- .env | 2 +- .gitignore | 1 + docker-compose.yml | 84 +++++++++++++++++++++++----------------------- 3 files changed, 44 insertions(+), 43 deletions(-) diff --git a/.env b/.env index 98d039a..470af4e 100644 --- a/.env +++ b/.env @@ -9,7 +9,7 @@ POSTGRESQL_CAFILE="" JWT_SECRET="zfl655gcdax8hg9dp5fb47qk2" PASSWORD_SALT="5a9bbb7d546" - +EOF MFA_KEY="fake" # optional, if you want to enable multi-factor authentication MFA_SALT="fake" # optional, if you want to enable multi-factor authentication diff --git a/.gitignore b/.gitignore index bdffaf6..1b9cac0 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ node_modules/ db/ # Env var +.env # Files data-files/ diff --git a/docker-compose.yml b/docker-compose.yml index b9caace..d20ea2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,47 +12,47 @@ services: - ./data-files:/app/data-files - ./bewcloud.config.ts:/app/bewcloud.config.ts - postgresql: - image: postgres:17 - environment: - - POSTGRES_USER=postgres - - POSTGRES_PASSWORD=df7c6935a6ff - - POSTGRES_DB=bewcloud - restart: always - volumes: - - bewcloud-db:/var/lib/postgresql/data - # NOTE: uncomment below only if you need to connect to the database from outside the container - # ports: - # - 127.0.0.1:5432:5432 - ulimits: - memlock: - soft: -1 - hard: -1 - mem_limit: '256m' +# postgresql: +# image: postgres:17 +# environment: +# - POSTGRES_USER=postgres +# - POSTGRES_PASSWORD=df7c6935a6ff +# - POSTGRES_DB=bewcloud +# restart: always +# volumes: +# - bewcloud-db:/var/lib/postgresql/data +# # NOTE: uncomment below only if you need to connect to the database from outside the container +# # 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.7.0 - # NOTE: uncomment below only if you need to connect to the CardDav/CalDav servers from outside the container - # 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' +# # 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.7.0 +# # NOTE: uncomment below only if you need to connect to the CardDav/CalDav servers from outside the container +# # 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 +# volumes: +# bewcloud-db: +# driver: local