mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-08 16:28:04 -06:00
project setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user