purr/examples/docker-stack.yml

31 lines
610 B
YAML
Raw Normal View History

version: '3.1'
# Default Docker Stack/Compose configuration for Purr.
# You will need to change all instances of "REPLACEME" with the appropriate details.
# Additionally, you may want to update the host port definitions for each service.
services:
couchdb:
image: couchdb:3.2.2
ports:
- 5984:5984
volumes:
- ./data:/opt/couchdb/data
networks:
- webnet
environment:
COUCHDB_USER: REPLACEME
COUCHDB_PASSWORD: REPLACEME
purr:
image: purr
ports:
- 5195:3000
networks:
- webnet
depends_on:
- couchdb
networks:
webnet: