Jafner.net/homelab/jafner-tools/config/joplin/docker-compose.yml

35 lines
854 B
YAML
Raw Normal View History

2022-02-08 22:29:15 -08:00
version: '3'
services:
joplin:
image: joplin/server:2.6-beta
2022-04-29 11:49:50 -07:00
container_name: joplin_server
restart: "no"
2022-02-08 22:29:15 -08:00
env_file:
- .env
depends_on:
- joplin_db
networks:
- web
- joplin
labels:
- traefik.http.routers.joplin.rule=Host(`joplin.jafner.tools`)
- traefik.http.routers.joplin.tls.certresolver=lets-encrypt
2022-02-25 15:59:35 -08:00
#- traefik.http.middlewares.joplin.headers.customrequestheaders.X-Forwarded-Proto = http
2022-02-08 22:29:15 -08:00
- traefik.http.services.joplin.loadbalancer.server.port=22300
- traefik.http.services.joplin.loadbalancer.passhostheader=true
joplin_db:
image: postgres:13.1
container_name: joplin_db
restart: "no"
2022-02-08 22:29:15 -08:00
env_file:
- .env
volumes:
2022-02-25 15:59:35 -08:00
- $DOCKER_DATA/db:/var/lib/postgresql/data
2022-02-08 22:29:15 -08:00
networks:
- joplin
networks:
joplin:
web:
external: true