Getting Started as a Developer
This page show how to setup as developer
Cloning Repository
Note: The repository is currently under maintenance. As a result, downloads are temporarily unavailable. Please check back later for updates.
Using docker-compose (built image for ubuntu)
version: '3.8'
services:
sfu-app:
container_name: sfu-app
image: reza1290/procspy-sfu:latest
restart: unless-stopped
env_file:
- ./webrtc/.env
network_mode: "host"
rest-api:
container_name: procspy-api
image: reza1290/procspy-api:latest
restart: unless-stopped
env_file:
- ./rest_api/.env
ports:
- "1291:3000"
depends_on:
- mongo
networks:
- procspy-net
dashboard:
container_name: procspy-dashboard
image: reza1290/procspy-dashboard:latest
restart: unless-stopped
env_file:
- ./dashboard/.env
expose:
- "3000"
depends_on:
- rest-api
networks:
- procspy-net
mongo:
image: mongo:6
container_name: procspy-mongo
restart: unless-stopped
volumes:
- mongo_data:/data/db
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: akujawatimur
networks:
- procspy-net
nginx:
image: nginx:latest
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./certbot/www:/var/www/certbot
- ./certbot/conf:/etc/letsencrypt
depends_on:
- dashboard
- rest-api
- sfu-app
networks:
- procspy-net
certbot:
image: certbot/certbot
container_name: certbot
volumes:
- ./certbot/www:/var/www/certbot
- ./certbot/conf:/etc/letsencrypt
entrypoint: >
sh -c "certbot certonly --webroot --webroot-path=/var/www/certbot
--email [email protected] --agree-tos --no-eff-email
-d procspy.link"
networks:
- procspy-net
volumes:
mongo_data:
networks:
procspy-net:
Setting up .env file
.env file/dashboard/.env
/webrtc/.env
/rest_api/.env
UFW Firewall Configuration for WEBRTC Connection
Last updated