From b935d82f59b285173591169d517d88ba04d9be1f Mon Sep 17 00:00:00 2001 From: mathieu Date: Mon, 27 May 2024 08:42:33 +0200 Subject: [PATCH] add joplin --- joplin/docker-compose.yml | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 joplin/docker-compose.yml diff --git a/joplin/docker-compose.yml b/joplin/docker-compose.yml new file mode 100644 index 0000000..b134f05 --- /dev/null +++ b/joplin/docker-compose.yml @@ -0,0 +1,41 @@ +version: '3' + +services: + db: + image: postgres:15 + volumes: + - /docker/joplindb:/var/lib/postgresql/data + ports: + - "5432:5432" + restart: unless-stopped + environment: + - POSTGRES_PASSWORD=postgres + - POSTGRES_USER=postgres + - POSTGRES_DB=joplin + app: + image: joplin/server:latest + depends_on: + - db + ports: + - "22300:22300" + 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 + - POSTGRES_PORT=5432 + - POSTGRES_HOST=db + - MAILER_ENABLED=1 + - 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: \ No newline at end of file