mostly unneeded
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Run Tests / test (push) Has been cancelled

This commit is contained in:
Tim Bendt
2025-12-01 08:42:13 -05:00
parent 8889eb10ce
commit 747874c925
3 changed files with 44 additions and 43 deletions

2
.env
View File

@@ -9,7 +9,7 @@ POSTGRESQL_CAFILE=""
JWT_SECRET="zfl655gcdax8hg9dp5fb47qk2" JWT_SECRET="zfl655gcdax8hg9dp5fb47qk2"
PASSWORD_SALT="5a9bbb7d546" PASSWORD_SALT="5a9bbb7d546"
EOF
MFA_KEY="fake" # optional, if you want to enable multi-factor authentication MFA_KEY="fake" # optional, if you want to enable multi-factor authentication
MFA_SALT="fake" # optional, if you want to enable multi-factor authentication MFA_SALT="fake" # optional, if you want to enable multi-factor authentication

1
.gitignore vendored
View File

@@ -8,6 +8,7 @@ node_modules/
db/ db/
# Env var # Env var
.env
# Files # Files
data-files/ data-files/

View File

@@ -12,47 +12,47 @@ services:
- ./data-files:/app/data-files - ./data-files:/app/data-files
- ./bewcloud.config.ts:/app/bewcloud.config.ts - ./bewcloud.config.ts:/app/bewcloud.config.ts
postgresql: # postgresql:
image: postgres:17 # image: postgres:17
environment: # environment:
- POSTGRES_USER=postgres # - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=df7c6935a6ff # - POSTGRES_PASSWORD=df7c6935a6ff
- POSTGRES_DB=bewcloud # - POSTGRES_DB=bewcloud
restart: always # restart: always
volumes: # volumes:
- bewcloud-db:/var/lib/postgresql/data # - bewcloud-db:/var/lib/postgresql/data
# NOTE: uncomment below only if you need to connect to the database from outside the container # # NOTE: uncomment below only if you need to connect to the database from outside the container
# ports: # # ports:
# - 127.0.0.1:5432:5432 # # - 127.0.0.1:5432:5432
ulimits: # ulimits:
memlock: # memlock:
soft: -1 # soft: -1
hard: -1 # hard: -1
mem_limit: '256m' # mem_limit: '256m'
# NOTE: If you don't want to use the CardDav/CalDav servers, you can comment/remove this service. # # NOTE: If you don't want to use the CardDav/CalDav servers, you can comment/remove this service.
radicale: # radicale:
image: tomsquest/docker-radicale:3.5.7.0 # 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 # # NOTE: uncomment below only if you need to connect to the CardDav/CalDav servers from outside the container
# ports: # # ports:
# - 127.0.0.1:5232:5232 # # - 127.0.0.1:5232:5232
init: true # init: true
read_only: true # read_only: true
security_opt: # security_opt:
- no-new-privileges:true # - no-new-privileges:true
cap_drop: # cap_drop:
- ALL # - ALL
cap_add: # cap_add:
- SETUID # - SETUID
- SETGID # - SETGID
- CHOWN # - CHOWN
- KILL # - KILL
restart: always # restart: always
volumes: # volumes:
- ./data-radicale:/data # - ./data-radicale:/data
- ./radicale-config:/config:ro # - ./radicale-config:/config:ro
mem_limit: '256m' # mem_limit: '256m'
volumes: # volumes:
bewcloud-db: # bewcloud-db:
driver: local # driver: local