Skip to content

Commit

Permalink
chore(#132): switch CouchDB data to named Docker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel authored and Maria Lorena Rodriguez Viruel committed Sep 16, 2024
1 parent 809627a commit ab3f120
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/docker-compose.cht-couchdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
couchdb:
image: public.ecr.aws/medic/cht-couchdb:4.1.0-alpha
volumes:
- ${COUCHDB_DATA:-./srv}:/opt/couchdb/data
- couchdb-data:/opt/couchdb/data
- cht-credentials:/opt/couchdb/etc/local.d/
environment:
- "COUCHDB_USER=${COUCHDB_USER:-admin}"
Expand All @@ -24,6 +24,7 @@ services:

volumes:
cht-credentials:
couchdb-data:

networks:
cht-net:
Expand Down

0 comments on commit ab3f120

Please sign in to comment.