• Angular CLI (npm install @angular/cli -g
if you do not already have it.)
• Docker Compose
• Backend http://localhost
• Frontend http://localhost:8086
Example docker-compose.yml
version: "3.8"
services:
backend:
build: ./backend
restart: always
container_name: jumbaliar-backend
env_file:
- .env
volumes:
- ./uploads:/node/uploads
depends_on:
- couchdb
links:
- "couchdb"
ports:
- 80:80
frontend:
build: ./frontend
restart: always
container_name: jumbaliar-frontend
env_file:
- .env
depends_on:
- couchdb
ports:
- 8086:80
couchdb:
image: couchdb
restart: always
container_name: couchdb
env_file:
- .env
ports:
- "5984:5984"
volumes:
- couchdb:/opt/couchdb/data
volumes:
couchdb:
Example .env file
BACKEND_URL=http://localhost
COUCHDB_URL=couchdb:5984
COUCHDB_USER=admin
COUCHDB_PASSWORD=admin
Note
restart:always
on the backend is essential to how the system works. Express must be restarted when new endpoints are added.BACKEND_URL
must match the URL of the backend.
- Refer to Projects page for open issues and features