mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-02-26 18:18:50 -05:00
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
15 lines
372 B
YAML
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"
|
|
|