mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
parent
bcb42caf96
commit
84dee21acc
@ -34,6 +34,10 @@ AQUARIUS_URL=<aquarius-url>
|
|||||||
|
|
||||||
### Create docker-compose file
|
### Create docker-compose file
|
||||||
|
|
||||||
|
{% hint style="info" %}
|
||||||
|
Set the value of OCEAN\_PROVIDER\_WORKERS to 2 or more to avoid a race condition when provider checks whether it should call a remote provider or not.
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
{% code title="docker-compose.provider.yml" %}
|
{% code title="docker-compose.provider.yml" %}
|
||||||
```yaml
|
```yaml
|
||||||
version: '3'
|
version: '3'
|
||||||
@ -50,7 +54,7 @@ services:
|
|||||||
PROVIDER_PRIVATE_KEY: ${PROVIDER_PRIVATE_KEY}
|
PROVIDER_PRIVATE_KEY: ${PROVIDER_PRIVATE_KEY}
|
||||||
LOG_LEVEL: DEBUG
|
LOG_LEVEL: DEBUG
|
||||||
OCEAN_PROVIDER_URL: "http://0.0.0.0:8030"
|
OCEAN_PROVIDER_URL: "http://0.0.0.0:8030"
|
||||||
OCEAN_PROVIDER_WORKERS: "1"
|
OCEAN_PROVIDER_WORKERS: "2"
|
||||||
OCEAN_PROVIDER_TIMEOUT: "9000"
|
OCEAN_PROVIDER_TIMEOUT: "9000"
|
||||||
# Defining OPERATOR_SERVICE_URL is optional. Set the value only if Provider should support Compute-to-data.
|
# Defining OPERATOR_SERVICE_URL is optional. Set the value only if Provider should support Compute-to-data.
|
||||||
OPERATOR_SERVICE_URL: "<operator-service-url>"
|
OPERATOR_SERVICE_URL: "<operator-service-url>"
|
||||||
|
Loading…
Reference in New Issue
Block a user