2023-03-01 21:17:49 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-03-01 21:17:49 +00:00
|
|
|
memos:
|
|
|
|
image: neosmemo/memos:latest
|
|
|
|
container_name: memos
|
|
|
|
volumes:
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/memos/data:/var/opt/memos
|
|
|
|
ports:
|
|
|
|
- 5230:5230
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 5230
|
2023-03-01 21:17:49 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.http.routers.memos.rule=Host(`memosservice.example.com`)
|
|
|
|
# - traefik.http.services.memos.loadbalancer.server.port=5230
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# # Part for optional traefik middlewares
|
|
|
|
# - traefik.http.routers.memos.middlewares=local-ipwhitelist@file,basic-auth@file
|
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|