mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 10:42:57 +00:00
dev day #67
This commit is contained in:
+3
-2
@@ -54,6 +54,7 @@ services:
|
||||
- type=local,src=/tmp/.buildx-cache-frontend
|
||||
args:
|
||||
BUILDKIT_INLINE_CACHE: 1
|
||||
shm_size: '512m' # Increase shared memory for build
|
||||
container_name: myclub-frontend
|
||||
ports:
|
||||
- "3000:80"
|
||||
@@ -67,8 +68,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
cpus: '2.0' # Increase CPU for build performance
|
||||
memory: 2G # Increase to 2G for build (React builds are memory-intensive)
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
|
||||
Reference in New Issue
Block a user