Update volume access permissions

This commit is contained in:
Prathamesh Musale 2023-03-31 17:46:54 +05:30
parent 6151932a5b
commit dfcea7d165
2 changed files with 17 additions and 8 deletions

View File

@ -18,7 +18,7 @@ services:
- ../config/fixturenet-optimism/optimism-contracts/send-balance.ts:/app/packages/contracts-bedrock/tasks/send-balance.ts - ../config/fixturenet-optimism/optimism-contracts/send-balance.ts:/app/packages/contracts-bedrock/tasks/send-balance.ts
- ../config/fixturenet-optimism/optimism-contracts/update-config.js:/app/packages/contracts-bedrock/update-config.js - ../config/fixturenet-optimism/optimism-contracts/update-config.js:/app/packages/contracts-bedrock/update-config.js
- ../config/fixturenet-optimism/optimism-contracts/run.sh:/app/packages/contracts-bedrock/run.sh - ../config/fixturenet-optimism/optimism-contracts/run.sh:/app/packages/contracts-bedrock/run.sh
- fixturenet-geth-accounts:/geth-accounts - fixturenet-geth-accounts:/geth-accounts:ro
- l2-accounts:/l2-accounts - l2-accounts:/l2-accounts
- l1-deployment:/app/packages/contracts-bedrock - l1-deployment:/app/packages/contracts-bedrock
@ -31,7 +31,7 @@ services:
L1_RPC: "http://fixturenet-eth-geth-1:8545" L1_RPC: "http://fixturenet-eth-geth-1:8545"
volumes: volumes:
- ../config/fixturenet-optimism/generate-l2-config.sh:/app/generate-l2-config.sh - ../config/fixturenet-optimism/generate-l2-config.sh:/app/generate-l2-config.sh
- l1-deployment:/contracts-bedrock - l1-deployment:/contracts-bedrock:ro
- op_node_data:/app - op_node_data:/app
command: ["sh", "/app/generate-l2-config.sh"] command: ["sh", "/app/generate-l2-config.sh"]
@ -42,8 +42,8 @@ services:
condition: service_started condition: service_started
volumes: volumes:
- ../config/fixturenet-optimism/run-op-geth.sh:/run-op-geth.sh - ../config/fixturenet-optimism/run-op-geth.sh:/run-op-geth.sh
- op_node_data:/op-node - op_node_data:/op-node:ro
- l2-accounts:/l2-accounts - l2-accounts:/l2-accounts:ro
entrypoint: "sh" entrypoint: "sh"
command: "/run-op-geth.sh" command: "/run-op-geth.sh"
ports: ports:
@ -64,8 +64,8 @@ services:
image: cerc/optimism-op-node:local image: cerc/optimism-op-node:local
volumes: volumes:
- ../config/fixturenet-optimism/run-op-node.sh:/app/run-op-node.sh - ../config/fixturenet-optimism/run-op-node.sh:/app/run-op-node.sh
- op_node_data:/app - op_node_data:/app:ro
- l2-accounts:/l2-accounts - l2-accounts:/l2-accounts:ro
command: ["sh", "/app/run-op-node.sh"] command: ["sh", "/app/run-op-node.sh"]
ports: ports:
- "8547" - "8547"
@ -87,7 +87,7 @@ services:
image: cerc/optimism-op-batcher:local image: cerc/optimism-op-batcher:local
volumes: volumes:
- ../config/fixturenet-optimism/run-op-batcher.sh:/run-op-batcher.sh - ../config/fixturenet-optimism/run-op-batcher.sh:/run-op-batcher.sh
- l2-accounts:/l2-accounts - l2-accounts:/l2-accounts:ro
entrypoint: "sh" entrypoint: "sh"
command: "/run-op-batcher.sh" command: "/run-op-batcher.sh"

View File

@ -43,7 +43,16 @@ Deploy the stack:
laconic-so --stack fixturenet-optimism deploy up laconic-so --stack fixturenet-optimism deploy up
``` ```
## Clean up To list down the running containers:
```bash
laconic-so --stack fixturenet-optimism deploy ps
# With status
docker ps
```
# Clean up
Stop all services running in the background: Stop all services running in the background: