Skip to content

Latest commit

 

History

History
49 lines (44 loc) · 1.15 KB

joplin.md

File metadata and controls

49 lines (44 loc) · 1.15 KB

Joplin Server

Joplin is a free note taking app, available for desktop & mobile. This is the Joplin sync server.


docker-compose.yml

---
version: '3'
services:
    db:
        image: postgres:13.1
        container_name: joplin-db
        ports:
            - "5432:5432"
        restart: unless-stopped
        environment:
            - POSTGRES_DB=joplin
            - POSTGRES_USER=joplin
			- POSTGRES_PASSWORD=joplin
        volumes:
		    - ./data:/var/lib/postgresql/data
    app:
        image: joplin/server:latest
        container_name: joplin
        depends_on:
            - db
        ports:
            - "22300:22300"
        restart: unless-stopped
        environment:
            - APP_BASE_URL=https://joplin.example.com
            - APP_PORT=22300
            - DB_CLIENT=pg
            - POSTGRES_HOST=db
            - POSTGRES_DATABASE=joplin
            - POSTGRES_USER=joplin
            - POSTGRES_PASSWORD=joplin
            - POSTGRES_PORT=5432

Login with

email: admin@localhost password: admin