Skip to content

Commit

Permalink
Add CouchDB (laradock#1974)
Browse files Browse the repository at this point in the history
* Add CouchDB
  • Loading branch information
jsgv authored and bestlong committed Feb 9, 2019
1 parent 53ca887 commit fc3355a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions couchdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM couchdb

EXPOSE 5984
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1376,3 +1376,14 @@ services:
networks:
- frontend
- backend

### COUCHDB ###################################################
couchdb:
build:
context: ./couchdb
volumes:
- ${DATA_PATH_HOST}/couchdb/data:/opt/couchdb/data
ports:
- "${COUCHDB_PORT}:5984"
networks:
- backend
4 changes: 4 additions & 0 deletions env-example
Original file line number Diff line number Diff line change
Expand Up @@ -648,3 +648,7 @@ TRAEFIK_HOST_HTTPS_PORT=443
### MOSQUITTO #################################################

MOSQUITTO_PORT=9001

### COUCHDB ###################################################

COUCHDB_PORT=5984

0 comments on commit fc3355a

Please sign in to comment.