|
@@ -60,6 +60,7 @@ services:
|
|
|
working_dir: /joystream/distributor-node
|
|
|
ports:
|
|
|
- 127.0.0.1:3334:3334
|
|
|
+ - 127.0.0.1:4334:4334
|
|
|
env_file:
|
|
|
# relative to working directory where docker-compose was run from
|
|
|
- .env
|
|
@@ -69,15 +70,16 @@ services:
|
|
|
JOYSTREAM_DISTRIBUTOR__ENDPOINTS__QUERY_NODE: ${DISTRIBUTOR_QUERY_NODE_URL}
|
|
|
JOYSTREAM_DISTRIBUTOR__KEYS: "[{\"suri\":\"${DISTRIBUTOR_1_ACCOUNT_URI}\"}]"
|
|
|
JOYSTREAM_DISTRIBUTOR__WORKER_ID: ${DISTRIBUTOR_1_WORKER_ID}
|
|
|
- JOYSTREAM_DISTRIBUTOR__PORT: 3334
|
|
|
+ JOYSTREAM_DISTRIBUTOR__PUBLIC_API__PORT: 3334
|
|
|
+ JOYSTREAM_DISTRIBUTOR__OPERATOR_API__PORT: 4334
|
|
|
JOYSTREAM_DISTRIBUTOR__ENDPOINTS__JOYSTREAM_NODE_WS: ${JOYSTREAM_NODE_WS}
|
|
|
JOYSTREAM_DISTRIBUTOR__DIRECTORIES__ASSETS: /data
|
|
|
JOYSTREAM_DISTRIBUTOR__DIRECTORIES__CACHE_STATE: /cache
|
|
|
- JOYSTREAM_DISTRIBUTOR__DIRECTORIES__LOGS: /logs
|
|
|
+ JOYSTREAM_DISTRIBUTOR__LOGS__FILE__PATH: /logs
|
|
|
# JOYSTREAM_DISTRIBUTOR__ENDPOINTS__ELASTIC_SEARCH: es-endpoint
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__CONSOLE: "off"
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__FILE: "off"
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__CONSOLE: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__FILE: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__ELASTIC: "off"
|
|
|
# JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
|
|
|
# JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
|
|
|
command: ['yarn', 'joystream-distributor', 'start']
|
|
@@ -123,6 +125,7 @@ services:
|
|
|
working_dir: /joystream/distributor-node
|
|
|
ports:
|
|
|
- 127.0.0.1:3336:3334
|
|
|
+ - 127.0.0.1:4336:4334
|
|
|
env_file:
|
|
|
# relative to working directory where docker-compose was run from
|
|
|
- .env
|
|
@@ -132,15 +135,16 @@ services:
|
|
|
JOYSTREAM_DISTRIBUTOR__ENDPOINTS__QUERY_NODE: ${DISTRIBUTOR_QUERY_NODE_URL}
|
|
|
JOYSTREAM_DISTRIBUTOR__KEYS: "[{\"suri\":\"${DISTRIBUTOR_2_ACCOUNT_URI}\"}]"
|
|
|
JOYSTREAM_DISTRIBUTOR__WORKER_ID: ${DISTRIBUTOR_2_WORKER_ID}
|
|
|
- JOYSTREAM_DISTRIBUTOR__PORT: 3334
|
|
|
+ JOYSTREAM_DISTRIBUTOR__PUBLIC_API__PORT: 3334
|
|
|
+ JOYSTREAM_DISTRIBUTOR__OPERATOR_API__PORT: 4334
|
|
|
JOYSTREAM_DISTRIBUTOR__ENDPOINTS__JOYSTREAM_NODE_WS: ${JOYSTREAM_NODE_WS}
|
|
|
JOYSTREAM_DISTRIBUTOR__DIRECTORIES__ASSETS: /data
|
|
|
JOYSTREAM_DISTRIBUTOR__DIRECTORIES__CACHE_STATE: /cache
|
|
|
- JOYSTREAM_DISTRIBUTOR__DIRECTORIES__LOGS: /logs
|
|
|
+ JOYSTREAM_DISTRIBUTOR__LOGS__FILE__PATH: /logs
|
|
|
# JOYSTREAM_DISTRIBUTOR__ENDPOINTS__ELASTIC_SEARCH: es-endpoint
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__CONSOLE: "off"
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__FILE: "off"
|
|
|
- # JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__CONSOLE: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__FILE: "off"
|
|
|
+ # JOYSTREAM_DISTRIBUTOR__LOGS__ELASTIC: "off"
|
|
|
# JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
|
|
|
# JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
|
|
|
command: ['yarn', 'joystream-distributor', 'start']
|