forked from ethereum-optimism/optimism-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathup-verifier.sh
More file actions
executable file
·36 lines (32 loc) · 806 Bytes
/
up-verifier.sh
File metadata and controls
executable file
·36 lines (32 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
DOCKERFILE='docker-compose.local.yml'
SERVICES="deployer verifier l1_chain batch_submitter geth_l2"
while (( "$#" )); do
case "$1" in
-l|--local)
DOCKERFILE="docker-compose.local.yml"
shift 1
;;
-s|--services)
SERVICES="$2"
shift 2
;;
*)
echo "Unknown argument $1" >&2
shift
;;
esac
done
docker-compose \
-f $DOCKERFILE \
-f $DIR/docker-compose.env.yml \
-f optional/verifier-service.yml \
-f optional/verifier-service.local.yml \
down -v --remove-orphans
docker-compose \
-f $DOCKERFILE \
-f $DIR/docker-compose.env.yml \
-f optional/verifier-service.yml \
-f optional/verifier-service.local.yml \
up $SERVICES