diff --git a/multiple-erc20-to-erc20/oracle/docker-compose.yml b/multiple-erc20-to-erc20/oracle/docker-compose.yml index 072183a..8fc4319 100644 --- a/multiple-erc20-to-erc20/oracle/docker-compose.yml +++ b/multiple-erc20-to-erc20/oracle/docker-compose.yml @@ -1,7 +1,7 @@ version: '2.4' services: rabbit: - cpus: 0.40 + cpus: 0.50 mem_limit: 1250m environment: ['RABBITMQ_NODENAME=node@rabbit'] hostname: rabbit @@ -23,9 +23,14 @@ services: max-file: "5" compress: "true" redis: - cpus: 0.20 + cpus: 0.30 mem_limit: 250m - command: [redis-server, --appendonly, 'yes'] + command: + - 'redis-server' + - '--loglevel ${REDIS_LOGLEVEL:-notice}' + - '--eppendonly yes' + - '--maxmemory 50mb' + - '--maxmemory-policy allkeys-lru' hostname: redis image: redis:4 sysctls: @@ -47,7 +52,7 @@ services: max-file: "5" compress: "true" bridge_request: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-signature-request @@ -65,7 +70,7 @@ services: max-file: "5" compress: "true" bridge_collected: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-collected-signatures @@ -83,7 +88,7 @@ services: max-file: "5" compress: "true" bridge_affirmation: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-affirmation-request @@ -101,7 +106,7 @@ services: max-file: "5" compress: "true" deployed_bridges: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-deployed-bridges @@ -119,7 +124,7 @@ services: max-file: "5" compress: "true" bridge_senderhome: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-sender-home @@ -137,7 +142,7 @@ services: max-file: "5" compress: "true" bridge_senderforeign: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/multiple-erc20-to-erc20-oracle:1.0.4 container_name: fuseoracle-sender-foreign diff --git a/native-to-erc20/oracle/docker-compose.keystore.yml b/native-to-erc20/oracle/docker-compose.keystore.yml index 7df815a..a3ae4a2 100644 --- a/native-to-erc20/oracle/docker-compose.keystore.yml +++ b/native-to-erc20/oracle/docker-compose.keystore.yml @@ -1,7 +1,7 @@ version: '2.4' services: rabbit: - cpus: 0.40 + cpus: 0.50 mem_limit: 1250m environment: ['RABBITMQ_NODENAME=node@rabbit'] hostname: rabbit @@ -24,9 +24,14 @@ services: max-file: "5" compress: "true" redis: - cpus: 0.20 + cpus: 0.30 mem_limit: 250m - command: [redis-server, --appendonly, 'yes'] + command: + - 'redis-server' + - '--loglevel ${REDIS_LOGLEVEL:-notice}' + - '--eppendonly yes' + - '--maxmemory 50mb' + - '--maxmemory-policy allkeys-lru' hostname: redis image: redis:4 sysctls: @@ -49,7 +54,7 @@ services: max-file: "5" compress: "true" bridge_request: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-signature-request @@ -69,7 +74,7 @@ services: max-file: "5" compress: "true" bridge_collected: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-collected-signatures @@ -89,7 +94,7 @@ services: max-file: "5" compress: "true" bridge_affirmation: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-affirmation-request @@ -109,7 +114,7 @@ services: max-file: "5" compress: "true" bridge_initiate_change: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-initiate-change @@ -129,7 +134,7 @@ services: max-file: "5" compress: "true" bridge_rewarded_on_cycle: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-rewarded-on-cycle @@ -149,7 +154,7 @@ services: max-file: "5" compress: "true" bridge_senderhome: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-sender-home @@ -169,7 +174,7 @@ services: max-file: "5" compress: "true" bridge_senderforeign: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-sender-foreign diff --git a/native-to-erc20/oracle/docker-compose.yml b/native-to-erc20/oracle/docker-compose.yml index c50693a..44dddad 100644 --- a/native-to-erc20/oracle/docker-compose.yml +++ b/native-to-erc20/oracle/docker-compose.yml @@ -1,7 +1,7 @@ version: '2.4' services: rabbit: - cpus: 0.40 + cpus: 0.50 mem_limit: 1250m environment: ['RABBITMQ_NODENAME=node@rabbit'] hostname: rabbit @@ -24,9 +24,14 @@ services: max-file: "5" compress: "true" redis: - cpus: 0.20 + cpus: 0.30 mem_limit: 250m - command: [redis-server, --appendonly, 'yes'] + command: + - 'redis-server' + - '--loglevel ${REDIS_LOGLEVEL:-notice}' + - '--eppendonly yes' + - '--maxmemory 50mb' + - '--maxmemory-policy allkeys-lru' hostname: redis image: redis:4 sysctls: @@ -49,7 +54,7 @@ services: max-file: "5" compress: "true" bridge_request: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-signature-request @@ -67,7 +72,7 @@ services: max-file: "5" compress: "true" bridge_collected: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-collected-signatures @@ -85,7 +90,7 @@ services: max-file: "5" compress: "true" bridge_affirmation: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-affirmation-request @@ -103,7 +108,7 @@ services: max-file: "5" compress: "true" bridge_initiate_change: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-initiate-change @@ -121,7 +126,7 @@ services: max-file: "5" compress: "true" bridge_rewarded_on_cycle: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-rewarded-on-cycle @@ -139,7 +144,7 @@ services: max-file: "5" compress: "true" bridge_senderhome: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-sender-home @@ -157,7 +162,7 @@ services: max-file: "5" compress: "true" bridge_senderforeign: - cpus: 0.15 + cpus: 0.25 mem_limit: 250m image: fusenet/native-to-erc20-oracle:2.0.3 container_name: fuseoracle-sender-foreign