Skip to content

Commit

Permalink
storage-node: use tempFolder arg in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaamani committed Dec 23, 2023
1 parent a287fdc commit 3dd8e0a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions docker-compose-no-bind-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ services:
# - OTEL_RESOURCE_ATTRIBUTES=service.name=colossus-1,deployment.environment=production
entrypoint: ['yarn']
command: [
'start', '--worker=${COLOSSUS_1_WORKER_ID}', '--port=3333', '--uploads=/data',
'start', '--worker=${COLOSSUS_1_WORKER_ID}', '--port=3333', '--uploads=/data/uploads',
'--sync', '--syncInterval=1',
'--queryNodeEndpoint=${COLOSSUS_QUERY_NODE_URL}',
'--apiUrl=${JOYSTREAM_NODE_WS}',
'--logFilePath=/logs'
'--logFilePath=/logs',
'--tempFolder=/data/temp/'
]

distributor-1:
Expand Down Expand Up @@ -103,11 +104,12 @@ services:
- ACCOUNT_URI=${COLOSSUS_2_TRANSACTOR_URI}
entrypoint: ['yarn', 'storage-node']
command: [
'server', '--worker=${COLOSSUS_2_WORKER_ID}', '--port=3333', '--uploads=/data',
'server', '--worker=${COLOSSUS_2_WORKER_ID}', '--port=3333', '--uploads=/data/uploads',
'--sync', '--syncInterval=1',
'--queryNodeEndpoint=${COLOSSUS_QUERY_NODE_URL}',
'--apiUrl=${JOYSTREAM_NODE_WS}',
'--logFilePath=/logs'
'--logFilePath=/logs',
'--tempFolder=/data/temp/'
]

distributor-2:
Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ services:
- OTEL_RESOURCE_ATTRIBUTES=service.name=colossus-1,deployment.environment=production
entrypoint: ['/joystream/entrypoints/storage.sh']
command: [
'server', '--worker=${COLOSSUS_1_WORKER_ID}', '--port=3333', '--uploads=/data',
'server', '--worker=${COLOSSUS_1_WORKER_ID}', '--port=3333', '--uploads=/data/uploads/',
'--sync', '--syncInterval=1',
'--queryNodeEndpoint=${COLOSSUS_QUERY_NODE_URL}',
'--apiUrl=${JOYSTREAM_NODE_WS}',
'--logFilePath=/logs'
'--logFilePath=/logs',
'--tempFolder=/data/temp/'
]

distributor-1:
Expand Down Expand Up @@ -106,11 +107,12 @@ services:
- ACCOUNT_URI=${COLOSSUS_2_TRANSACTOR_URI}
entrypoint: ['yarn', 'storage-node']
command: [
'server', '--worker=${COLOSSUS_2_WORKER_ID}', '--port=3333', '--uploads=/data',
'server', '--worker=${COLOSSUS_2_WORKER_ID}', '--port=3333', '--uploads=/data/uploads',
'--sync', '--syncInterval=1',
'--queryNodeEndpoint=${COLOSSUS_QUERY_NODE_URL}',
'--apiUrl=${JOYSTREAM_NODE_WS}',
'--logFilePath=/logs'
'--logFilePath=/logs',
'--tempFolder=/data/temp/'
]

distributor-2:
Expand Down

0 comments on commit 3dd8e0a

Please sign in to comment.