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 \ docker run \
-d \ -d \
--name backend \ --name backend \
--memory=2g \
-e PORT=8765 \ -e PORT=8765 \
-e ENVIRONMENT=dev \ -e ENVIRONMENT=dev \
-e TESTING=0 \ -e TESTING=0 \

View File

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