update memory

This commit is contained in:
leehk 2025-04-11 21:39:43 +08:00
parent fdd602400b
commit 5bf5fa3612
2 changed files with 15 additions and 16 deletions

View File

@ -67,6 +67,7 @@ jobs:
docker run \
-d \
--name backend \
--memory=2g \
-e PORT=8765 \
-e ENVIRONMENT=dev \
-e TESTING=0 \

View File

@ -1,5 +1,3 @@
version: "3.9"
services:
# streamlit:
# build: ./streamlit
@ -24,17 +22,17 @@ services:
- ENVIRONMENT=dev
- TESTING=0
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.local
container_name: frontend
platform: linux/amd64
volumes:
- ./frontend:/usr/src/app
ports:
- "3004:5173"
depends_on:
- backend
environment:
LOG_LEVEL: "DEBUG"
# frontend:
# build:
# context: ./frontend
# dockerfile: Dockerfile.local
# container_name: frontend
# platform: linux/amd64
# volumes:
# - ./frontend:/usr/src/app
# ports:
# - "3004:5173"
# # depends_on:
# # - backend
# environment:
# LOG_LEVEL: "DEBUG"