push
This commit is contained in:
29
web-server/docker-compose.yml
Normal file
29
web-server/docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user