forked from ethereum-optimism/optimism-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathup-replica.sh
More file actions
executable file
·30 lines (26 loc) · 888 Bytes
/
up-replica.sh
File metadata and controls
executable file
·30 lines (26 loc) · 888 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
#!/bin/bash
# Start services without the integration tests
# The `-s` flag takes a string of services to run.
# The `-l` flag will use mounted code.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
DOCKERFILE="docker-compose.yml"
SERVICES=$(docker-compose \
-f $DIR/$DOCKERFILE \
-f $DIR/docker-compose.env.yml \
-f $DIR/optional/x-domain-service.yml \
-f $DIR/optional/replica-service.yml \
config --services \
| grep -v integration_tests \
| tr '\n' ' ')
docker-compose \
-f $DIR/$DOCKERFILE \
-f $DIR/docker-compose.env.yml \
-f $DIR/optional/x-domain-service.yml \
-f $DIR/optional/replica-service.yml \
down -v --remove-orphans
docker-compose \
-f $DIR/$DOCKERFILE \
-f $DIR/docker-compose.env.yml \
-f $DIR/optional/x-domain-service.yml \
-f $DIR/optional/replica-service.yml \
up $SERVICES