-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcouchdb.yml
More file actions
42 lines (37 loc) · 758 Bytes
/
couchdb.yml
File metadata and controls
42 lines (37 loc) · 758 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.5'
services:
couch:
image: local/couchdb
hostname: couchdb
container_name: couchdb
build:
context: ./backend/couchdb
env_file:
- ./backend/couchdb/.env
networks:
- dev-net
ports:
- "5984:5984"
volumes:
- couch-data:/opt/couchdb/data
- couch-log:/opt/couchdb/log
- couch-config:/opt/couchdb/etc/local.d
volumes:
couch-data:
driver: local
driver_opts:
type: none
device: /volume/couchdb/data
o: bind
couch-log:
driver: local
driver_opts:
type: none
device: /volume/couchdb/log
o: bind
couch-config:
driver: local
driver_opts:
type: none
device: /volume/couchdb/config
o: bind