services: backend: container_name: statista-backend-1 build: context: ../backend dockerfile: Dockerfile restart: always environment: - DB_PATH=/data/asianmetal.db - REPORTS_DIR=/data/reports - API_TOKEN=b9660e2c174a5c76b958afdef8cc7d95f71abe23155299832b94984fcadf9f73 - API_TOKENS=client:b9660e2c174a5c76b958afdef8cc7d95f71abe23155299832b94984fcadf9f73,didvan:didvan_statista_key_2026,statista_secret_token_2026:b9660e2c174a5c76b958afdef8cc7d95f71abe23155299832b94984fcadf9f73 - SSO_SECRET=wSoNQxqlABZylZpXfuvUauUtaWXlNiJUxiOB9lBXOj8 - ALLOWED_ORIGINS=https://statista.steelforesight.ir,http://statista.steelforesight.ir,https://steelforesight.ir,http://steelforesight.ir,https://app.didvan.com,http://app.didvan.com,https://iranianfuturist.com,http://iranianfuturist.com,http://94.101.187.12:7860,http://localhost:3000,http://localhost:5173,http://localhost:5174,http://127.0.0.1:5174 - TRUSTED_PROXIES=127.0.0.1/32,172.16.0.0/12,10.0.0.0/8,192.168.0.0/16 volumes: - statista_data:/data ports: - "127.0.0.1:8000:8000" frontend: container_name: statista-frontend-1 build: context: ../frontend dockerfile: Dockerfile restart: always ports: - "127.0.0.1:3000:3000" nginx: container_name: statista-nginx-1 image: nginx:alpine restart: always ports: - "80:80" - "443:443" volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro - ./certs:/etc/nginx/certs:ro - ./certs-git:/etc/nginx/certs-git:ro - ./certbot-www:/var/www/certbot:ro depends_on: - backend - frontend volumes: statista_data: