traefik/joplin/docker-compose.yml

41 lines
1.2 KiB
YAML
Raw Normal View History

2024-05-27 06:42:33 +00:00
version: '3'
services:
db:
image: postgres:15
volumes:
2024-05-27 06:51:13 +00:00
- /volume1/docker/joplin/db:/var/lib/postgresql/data
2024-05-27 06:42:33 +00:00
ports:
2024-05-31 18:22:16 +00:00
- "5432:5432"
2024-05-27 06:42:33 +00:00
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
2024-05-27 06:45:00 +00:00
- "8084:22300"
2024-05-27 06:42:33 +00:00
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=https://huguettes.freeboxos.fr/joplin
- DB_CLIENT=pg
- POSTGRES_PASSWORD=postgres
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=postgres
2024-05-31 18:22:16 +00:00
- POSTGRES_PORT=5432
2024-05-27 06:42:33 +00:00
- POSTGRES_HOST=db
2024-05-27 06:45:00 +00:00
- MAILER_ENABLED=0
2024-05-27 06:42:33 +00:00
- MAILER_HOST=smtp.gmail.com
- MAILER_PORT=465
- MAILER_SECURE=1
- MAILER_AUTH_USER=youremail@gmail.com
- MAILER_AUTH_PASSWORD=Y0urP@ssw0rd
- MAILER_NOREPLY_NAME=Joplin
- MAILER_NOREPLY_EMAIL=email@email.com
volumes:
joplindb: