Files
org-roam/20231020110949-cryptgeon_docker.org
2025-11-05 09:18:11 +01:00

41 lines
1.5 KiB
Org Mode

:PROPERTIES:
:ID: dbeeedc0-8a64-43f3-84a6-397e3ecb5e70
:END:
#+title: cryptgeon-docker
cryptgeon is a secure, open source sharing note or file service inspired by PrivNote. It includes a [[id:f2b1d5af-1a7d-47a5-95c8-4a85d558419e][server]] ([[id:df046fd7-1f82-4e12-9065-56d222f56408][docker]]), a web page and a [[id:d71414fc-349c-4763-a703-9f7092fc90d6][command-line]] [[id:70899526-8b7d-4976-94fc-cc07c41e550a][client]]. each note has a generated id (256bit) and key 256(bit). The id is used to save & retrieve the note. the note is then encrypted with aes in gcm mode on the client side with the key and then sent to the server. data is stored in memory and never persisted to disk. the server never sees the encryption key and cannot decrypt the contents of the notes even if it tried to.
* [[id:fcbfabfa-4a8c-4826-8b57-5dce05965c76][docker-compose]]
#+begin_src
# docker-compose.yml
version: '3.8'
services:
redis:
image: redis:7-alpine
# Set a size limit. See link below on how to customise.
# https://redis.io/docs/manual/eviction/
# command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
app:
image: cupcakearmy/cryptgeon:latest
depends_on:
- redis
environment:
# Size limit for a single note.
SIZE_LIMIT: 4 MiB
ports:
- 80:8000
# Optional health checks
# healthcheck:
# test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/api/live/"]
# interval: 1m
# timeout: 3s
# retries: 2
# start_period: 5s
#+end_src