File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- # # PLEASE ALSO FORWARD PORT 2626 TO MAKE THE FRONTEND WORK ##
2- # # LocalForward 2627 127.0.0.1:2627
3- # # LocalForward 2626 127.0.0.1:2626
41services :
52 seedgen :
63 build : ./seed
74 platform : linux/amd64
85 restart : unless-stopped
9- mem_limit : 1g
10- cpus : 1
6+ mem_limit : 128m
7+ cpus : 0.3
118 ports :
129 - " 2628:2628"
1310 backend :
@@ -20,8 +17,8 @@ services:
2017 backend-db :
2118 condition : service_healthy
2219 restart : unless-stopped
23- mem_limit : 1g
24- cpus : 2
20+ mem_limit : 800m
21+ cpus : 1
2522 volumes :
2623 - ./backend/uploads:/app/uploads
2724 frontend :
@@ -30,13 +27,15 @@ services:
3027 ports :
3128 - " 2627:5173"
3229 restart : unless-stopped
33- mem_limit : 1g
34- cpus : 1
30+ mem_limit : 128m
31+ cpus : 0. 1
3532 env_file :
3633 - ./frontend/.env
3734 backend-db :
3835 image : postgres:15-alpine
3936 restart : unless-stopped
37+ mem_limit : 700m
38+ cpus : 0.4
4039 environment :
4140 POSTGRES_USER : backend
4241 POSTGRES_PASSWORD : backend
@@ -60,7 +59,8 @@ services:
6059 depends_on :
6160 - backend-db
6261 restart : unless-stopped
63-
62+ mem_limit : 64m
63+ cpus : 0.1
6464
6565volumes :
6666 db-data :
You can’t perform that action at this time.
0 commit comments