16 lines
492 B
YAML
16 lines
492 B
YAML
|
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"
|