dotfiles/common/users/docker/obsidian/docker-compose.yaml
sadan 6e56012318
add obsidian livesync
use relative path

rename dockerfile and change build arg

try systemd tmpfiles

add docker entrypoint

use more systemd tmpfiles

whoops i was missing a file

remove home.files and move to systemd.tmpfiles

dont use root

make immutable

make immutable v2

whoops

remove +i

needs to be executable
2025-02-25 00:23:50 -05:00

15 lines
372 B
YAML

version: '2.1'
services:
couchdb:
build: .
container_name: obsidian_livesync
env_file: ./couchdb.env
restart: unless-stopped
volumes:
# state, create an empty dir
- ./data:/opt/couchdb/data
# config, encrypted because it has a hashed password
- ./docker.ini:/opt/couchdb/etc/local.d/docker.ini
ports:
- "5984:5984"