blob: a2e3450ef680e8d9690bfe6ea13f6fe19c1dd2e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
services:
medman:
build: .
container_name: medman
restart: unless-stopped
ports:
- "${MEDMAN_PORT:-8080}:8080"
volumes:
# Source directories — mount each subdir under /app/srcs
- ./src0:/app/srcs/src0:rw
- ./src1:/app/srcs/src1:rw
# Data directories — mount each subdir under /app/dats
# (canonical hash-prefix hierarchy lives inside each)
- ./data0:/app/dats/data0:rw
- ./data1:/app/dats/data1:rw
# Import directories — each with index.json + canonical hierarchy
# - ./my-import:/app/imports/my-import:ro
- ./db:/app/db:rw
environment:
- MEDMAN_PORT=8080
- MEDMAN_HOST=0.0.0.0
- MEDMAN_W=${MEDMAN_W:-}
|