mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-01-08 16:36:27 +00:00
自定义一些配置
This commit is contained in:
parent
89b498e8c8
commit
ba485cd1bd
@ -1,18 +1,28 @@
|
|||||||
version: '3.8'
|
version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# Set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/manual/eviction/
|
||||||
# command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
|
command: redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
# Size limit for a single note.
|
# Size limit for a single note.
|
||||||
SIZE_LIMIT: 4 MiB
|
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"
|
||||||
ports:
|
ports:
|
||||||
- 80:8000
|
- 2000:8000
|
||||||
|
Loading…
Reference in New Issue
Block a user