mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-02 14:03:07 +00:00
fix cpu config for docker compose
This commit is contained in:
parent
aa11343fd4
commit
adf02b7414
@ -118,7 +118,7 @@ services:
|
||||
servicenode:
|
||||
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||
# container_name: servicenode
|
||||
cpuset: ${SERVICENODE_CPU_CORES:-"4"}
|
||||
cpuset: ${SERVICENODE_CPU_CORES:-4}
|
||||
mem_limit: ${SERVICENODE_MEM_LIMIT:-512m}
|
||||
restart: on-failure
|
||||
labels:
|
||||
@ -325,7 +325,7 @@ services:
|
||||
# This service is used when the Waku node has the 'store' protocol enabled
|
||||
# and the store-message-db-url is set to use Postgres
|
||||
image: postgres:15.4-alpine3.18
|
||||
cpuset: ${POSTGRES_CPU_CORES:-"4"}
|
||||
cpuset: ${POSTGRES_CPU_CORES:-4}
|
||||
mem_limit: ${POSTGRES_MEM_LIMIT:-2g}
|
||||
restart: on-failure:5
|
||||
shm_size: "${POSTGRES_SHM:-1g}" # Set default shared memory size to 1 GB
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user