Add CouchDB (#1974)

* Add CouchDB
This commit is contained in:
Jesus Galvan 2019-02-09 19:07:37 +07:00 committed by Shao Yu-Lung (Allen)
parent 53ca88714c
commit fc3355a9cc
3 changed files with 18 additions and 0 deletions

3
couchdb/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM couchdb
EXPOSE 5984

View File

@ -1376,3 +1376,14 @@ services:
networks: networks:
- frontend - frontend
- backend - backend
### COUCHDB ###################################################
couchdb:
build:
context: ./couchdb
volumes:
- ${DATA_PATH_HOST}/couchdb/data:/opt/couchdb/data
ports:
- "${COUCHDB_PORT}:5984"
networks:
- backend

View File

@ -648,3 +648,7 @@ TRAEFIK_HOST_HTTPS_PORT=443
### MOSQUITTO ################################################# ### MOSQUITTO #################################################
MOSQUITTO_PORT=9001 MOSQUITTO_PORT=9001
### COUCHDB ###################################################
COUCHDB_PORT=5984