Files
ScoutingApp2022/docker-compose.yml
T

39 lines
829 B
YAML
Raw Normal View History

2022-01-08 12:52:39 -07:00
version: "3"
services:
scouting-webserver:
container_name: "scouting-webserver"
env_file:
- .env
build:
context: ./webserver
dockerfile: ./Dockerfile
volumes:
- './webserver:/app'
- '/app/node_modules'
ports:
- "3001:3000"
environment:
- CHOKIDAR_USEPOLLING=true
couchdb:
container_name: "scouting-couchdb"
restart: unless-stopped
env_file:
- .env
build:
context: ./couchdb
dockerfile: ./Dockerfile
expose:
- 5984
ports:
- "5984:5984"
environment:
- COUCHDB_HOST=couchdb
- COUCHDB_PORT=5984
- COUCHDB_USER=${COUCHDB_USER}
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
volumes:
- ./couchdb/db.local.ini:/opt/couchdb/etc/local.ini
- ./couchdb/data:/opt/couchdb/data