Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

1023 B
Raw Blame
# documentation: https://docs.linuxserver.io/images/docker-obsidian
# slogan: Note-taking app with linking, organizing, and hundreds of plugins - runs in your browser via remote desktop
# category: productivity
# tags: notes,obsidian,markdown,desktop,gui,productivity
# logo: svgs/obsidian.svg
# port: 3000

services:
  obsidian:
    image: lscr.io/linuxserver/obsidian:latest
    environment:
      - SERVICE_URL_OBSIDIAN_3000
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-Etc/UTC}
      - CUSTOM_USER=${SERVICE_USER_OBSIDIAN}
      - PASSWORD=${SERVICE_PASSWORD_OBSIDIAN}
    volumes:
      - obsidian-config:/config
    # Required for Electron/Chromium shared memory
    shm_size: "1gb"
    # Needed on hosts with older kernels or libseccomp; safe to remove on modern hosts
    security_opt:
      - seccomp=unconfined
    healthcheck:
      test: ["CMD", "curl", "-s", "-o", "/dev/null", "http://127.0.0.1:3000/"]
      interval: 5s
      timeout: 20s
      retries: 10
      start_period: 90s