This commit is contained in:
2026-05-25 09:54:41 +07:00
parent a033562c4c
commit 14d3a3152a
12 changed files with 212 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
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}
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: