-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
56 lines (44 loc) · 1.61 KB
/
docker-compose.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
services:
couchdb:
build:
context: ./couchdb
restart: unless-stopped
environment:
# Change credentials!
COUCHDB_USER: admin
COUCHDB_PASSWORD: admin
ports:
- '127.0.0.1:5985:5984'
volumes:
- couchdb-data:/opt/couchdb/data
nodedoc:
image: nodedoc:version1.17
ports:
- '127.0.0.1:5010:5010'
volumes:
- ./nodedoc-data:/data
environment:
# Directory where all uploaded NodeSets and generated documentations are stored
nodedoc.directory.nodesets: /data/nodesets
# Directory where all documentation templates are stored
nodedoc.directory.templates: /data/templates
# Directory where generated diffs are stored
nodedoc.directory.diffs: /data/diffs
# Directory where backups are stored
nodedoc.directory.backups: /data/backups
# URI to the CouchDB (reachable from the server)
nodedoc.couchDb.uri: http://couchdb:5984
# URI to the CouchDB (reachable from the browser)
nodedoc.documentationGeneration.couchDbUri: "`$${window.location.protocol}//$${window.location.hostname}:5985`"
# Credentials for the CouchDB. They have to match the credentials which have been defined in the couchdb service
nodedoc.couchDb.username: admin
nodedoc.couchDb.password: admin
# Create DB if it does not exist
nodedoc.couchDb.createDb: true
# Show a Message of the Day (MOTD) text in the Web UI
nodedoc.motd: ''
# Enable the restricted demo mode, which just allows NodeSet documentation and diffing
nodedoc.demo: false
volumes:
couchdb-data: