Files
InstallerRobot/web-server/docker-compose.yml
2026-05-25 15:49:42 +07:00

31 lines
963 B
YAML

services:
web-server:
image: ${WEB_SERVER_IMAGE_REPOSITORY:-robot-installer-web-server}:${IMAGE_TAG:-local}
build:
context: .
container_name: ${WEB_SERVER_CONTAINER_NAME:-robot-installer-web-server}
env_file:
- ./.env
environment:
NODE_ENV: production
PORT: 3000
APP_BASE_URL: ${APP_BASE_URL:-http://localhost:8080}
SESSION_COOKIE_SECURE: ${SESSION_COOKIE_SECURE:-false}
WEB_CLIENT_ORIGINS: ${WEB_CLIENT_ORIGINS:-http://localhost:8080,http://localhost:5173,http://localhost:4173,http://localhost:3000,http://127.0.0.1:3000}
ports:
- "${WEB_SERVER_PORT:-3000}:3000"
volumes:
- web_server_uploads:/app/uploads
networks:
- robot-installer
restart: unless-stopped
networks:
robot-installer:
name: ${DOCKER_NETWORK:-robot-installer-net}
external: true
volumes:
web_server_uploads:
name: ${WEB_SERVER_UPLOADS_VOLUME:-robot-installer-web-server-uploads}