lets build aja

master
a2nr 2026-04-13 17:32:44 +07:00
parent 54fa892d8d
commit c466bc8bd4
1 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@ version: '3.8'
services: services:
elemes: elemes:
# build: . build: .
image: lms-c-backend:latest image: lms-c-backend:latest
volumes: volumes:
- ../content:/app/content - ../content:/app/content
@ -18,10 +18,10 @@ services:
# command: python app.py # command: python app.py
elemes-frontend: elemes-frontend:
# build: ./frontend build: ./frontend
image: lms-c-frontend:latest image: lms-c-frontend:latest
# ports: ports:
# - 3000:3000 - 3000:3000
environment: environment:
- ORIGIN=http://localhost:3000 - ORIGIN=http://localhost:3000
- API_BACKEND=http://elemes:5000 - API_BACKEND=http://elemes:5000
@ -34,13 +34,13 @@ services:
velxio: velxio:
image: lms-c-velxio:latest image: lms-c-velxio:latest
# build: build:
# context: ./velxio context: ./velxio
# dockerfile: Dockerfile.standalone dockerfile: Dockerfile.standalone
# args: args:
# VITE_BASE_PATH: /velxio/ VITE_BASE_PATH: /velxio/
# VITE_API_BASE: /velxio/api VITE_API_BASE: /velxio/api
# ENABLE_ESP32: ${ENABLE_ESP32:-0} ENABLE_ESP32: ${ENABLE_ESP32:-0}
environment: environment:
- SECRET_KEY=embed-only-no-auth-needed - SECRET_KEY=embed-only-no-auth-needed
- DATABASE_URL=sqlite+aiosqlite:////app/data/velxio.db - DATABASE_URL=sqlite+aiosqlite:////app/data/velxio.db