forked from artela-network/artela-rollkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
28 lines (22 loc) · 876 Bytes
/
compose.yaml
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
# Docker Compose is used for spinning up the local-da docker container along with the GM container.
version: "3.8"
services:
artroll:
container_name: artroll
# The build config can be used for debugging and testing changes to the Dockerfile
# build: .
# The image config can be used for running against published images
image: artelanetwork/rollkit:latest
# Used for targetting localhost as if you were outside the container
network_mode: host
# Always pull the latest image
pull_policy: always
# The command config is used for launching the GM rollup once the Docker container is running
command: rollkit start --rollkit.aggregator --rollkit.da_address http://localhost:7980
depends_on:
- local-da
local-da:
image: ghcr.io/rollkit/local-da:v0.2.1
container_name: local-da
ports:
- "7980:7980"