cryptgeon/docker-compose.yaml

27 lines
815 B
YAML
Raw Normal View History

2023-02-25 07:07:41 +00:00
version: '3.9'
2022-11-14 14:47:12 +00:00
services:
redis:
image: redis:7-alpine
# Set a size limit. See link below on how to customise.
# https://redis.io/docs/manual/eviction/
2023-02-25 07:07:41 +00:00
command: redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru
2022-11-14 14:47:12 +00:00
app:
2023-02-25 13:20:34 +00:00
image: cupcakearmy/cryptgeon:latest
2022-11-14 14:47:12 +00:00
depends_on:
- redis
environment:
# Size limit for a single note.
2023-02-25 07:07:41 +00:00
SIZE_LIMIT: 28 MiB
MAX_VIEWS: 20
MAX_EXPIRATION: 360
ALLOW_ADVANCED: true
VERBOSITY: error
THEME_IMAGE: "https://images.llfapp.com/copy_logo.jpg"
THEME_TEXT: "飞鸽传书,一键传输完全加密的密信或文件,阅后即焚。"
THEME_PAGE_TITLE: "飞鸽传书 | 加密文本传输,阅后即焚"
THEME_FAVICON: "https://images.llfapp.com/paper.png"
2022-11-14 14:47:12 +00:00
ports:
2023-02-25 07:07:41 +00:00
- 2000:8000