ehsan-dashboards/dashboards/VPN_chanel/docker-compose.yml

38 lines
989 B
YAML

services:
backend:
image: netvibe-backend:latest
container_name: netvibe-backend
restart: unless-stopped
volumes:
- /workspace/personal/ehsan/dashboards/VPN_chanel/backend/vpn_pipeline.db:/app/vpn_pipeline.db
- /workspace/personal/ehsan/dashboards/VPN_chanel/backend/app/static:/app/app/static
- /workspace/personal/ehsan/dashboards/VPN_chanel/backend/.env:/app/.env
environment:
- PYTHONUNBUFFERED=1
mem_limit: 160m
cpus: 0.2
networks:
- netvibe-net
- ekeepa_hermes
frontend:
image: netvibe-frontend:latest
container_name: netvibe-frontend
restart: unless-stopped
environment:
- INTERNAL_BACKEND_URL=http://netvibe-backend:8000
- NODE_OPTIONS=--max-old-space-size=64
- PORT=3000
depends_on:
- backend
mem_limit: 96m
cpus: 0.2
networks:
- netvibe-net
- ekeepa_hermes
networks:
netvibe-net:
driver: bridge
ekeepa_hermes:
external: true