docker-compose-collection/memos/docker-compose.yml

16 lines
492 B
YAML
Raw Normal View History

2023-09-30 21:24:51 +08:00
version: '3.3'
services:
memos:
container_name: memos
restart: unless-stopped
ports:
- '5230:5230'
volumes:
- './memos/:/var/opt/memos'
image: 'neosmemo/memos:latest'
labels:
- "traefik.enable=true"
- "traefik.http.routers.memos.rule=Host(`example.com`)"
- "traefik.http.routers.memos.entrypoints=websecure"
- "traefik.http.routers.memos.tls.certresolver=letsencrypt"