From a5c958c709c176f59224cc7efb5fb0dd6f0cfe59 Mon Sep 17 00:00:00 2001 From: Jadowyne Ulve Date: Sat, 26 Apr 2025 09:16:14 -0500 Subject: [PATCH] Upload files to "Joplin" --- Joplin/docker-compose.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..2570d09 --- /dev/null +++ b/Joplin/docker-compose.yml @@ -0,0 +1,33 @@ +version: '3' + +services: + db: + image: postgres:15 + volumes: + - ./db:/var/lib/postgresql/data + ports: + - "5433: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://joplin.treehousefullofstars.com + - DB_CLIENT=pg + - POSTGRES_PASSWORD=postgres + - POSTGRES_DATABASE=joplin + - POSTGRES_USER=postgres + - POSTGRES_PORT=5432 + - POSTGRES_HOST=db + +volumes: + joplindb: