-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 926 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (26 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# MindooDB Server — Docker Compose
#
# Default paths (relative to the repository root):
# data directory: ../mindoodb-data/server
# password file: ../mindoodb-data/.server_unlock
#
# Run `bash serversetup.sh` first to build the image, create the data directory,
# and initialise the server identity. serversetup.sh writes a
# `docker-compose.override.yml` with the current host uid/gid, bind mounts,
# selected bind address, and SELinux relabeling suffixes when needed.
#
# Usage:
# docker compose up -d # start
# docker compose down # stop
# docker compose logs -f # follow logs
# docker compose up -d --build # rebuild image and restart
version: "3.8"
services:
mindoodb:
image: mindoodb-server
build:
context: .
dockerfile: src/node/server/Dockerfile
restart: unless-stopped
environment:
MINDOODB_SERVER_PASSWORD_FILE: /run/secrets/server_unlock