-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
21 lines (21 loc) · 1000 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.3'
services:
memos:
image: ghcr.io/hu3rror/memos-litestream:stable
# image: ghcr.io/hu3rror/memos-litestream:stable-memogram
#image: ghcr.io/hu3rror/memos-litestream:latest
#image: ghcr.io/hu3rror/memos-litestream:test
container_name: memos
ports:
- 5230:5230
volumes:
- ~/.memos/:/var/opt/memos
environment:
- LITESTREAM_REPLICA_PATH=memos_prod.db # It's better not to change
- LITESTREAM_REPLICA_BUCKET=xxxxxxxxx # change to your litestream bucket name
- LITESTREAM_REPLICA_ENDPOINT=s3.us-west-000.backblazeb2.com # change to your litestream endpoint url
- LITESTREAM_ACCESS_KEY_ID=000000001a2b3c40000000001 # Your s3/b2 access-key-id
- LITESTREAM_SECRET_ACCESS_KEY=K000ABCDEFGHiJkLmNoPqRsTuVwXyZ0 # Your s3/b2 secret-access-key
- BOT_TOKEN=0000000000000000000000000000000000000000 # Your telegram bot token (only for ghcr.io/hu3rror/memos-litestream:stable-memogram)
# env_file:
# - .env