project setup

This commit is contained in:
Evan Lanham
2022-01-08 12:52:39 -07:00
parent 23ca57a728
commit 70981f88b2
34 changed files with 27636 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
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