-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: docker releases and compose file
- Loading branch information
Showing
7 changed files
with
125 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ ops/testnet/.terraform/providers | |
.run/ | ||
bin/ | ||
vendor/ | ||
./data/ | ||
/data/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM docker:dind as base | ||
|
||
RUN apk update | ||
RUN apk add wget | ||
RUN apk add bash | ||
|
||
ADD https://github.com/bacalhau-project/bacalhau/releases/download/v1.3.2/bacalhau_v1.3.2_linux_amd64.tar.gz . | ||
RUN tar xfv bacalhau_v1.3.2_linux_amd64.tar.gz | ||
RUN mv bacalhau /usr/local/bin | ||
|
||
ENTRYPOINT [ "bacalhau" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: lilypad | ||
services: | ||
chain: | ||
image: offchainlabs/nitro-node:v2.3.4-b4cc111 | ||
container_name: chain | ||
ports: | ||
- 8547:8547 | ||
- 8548:8548 | ||
command: | ||
[ | ||
"--init.dev-init", | ||
"--init.dev-init-address", | ||
$ADMIN_ADDRESS, | ||
"--node.dangerous.no-l1-listener", | ||
"--node.parent-chain-reader.enable=false", | ||
"--parent-chain.id=1337", | ||
"--chain.id=412346", | ||
"--node.sequencer", | ||
"--execution.sequencer.enable", | ||
"--node.dangerous.no-sequencer-coordinator", | ||
"--node.staker.enable=false", | ||
"--init.empty=false", | ||
"--http.port", | ||
"8547", | ||
"--http.addr", | ||
"0.0.0.0", | ||
"--ws.port", | ||
"8548", | ||
"--ws.addr", | ||
"0.0.0.0", | ||
] | ||
volumes: | ||
- ../data/chain:/home/user/.arbitrum | ||
solver: | ||
image: ghcr.io/lilypad-tech/solver | ||
container_name: solver | ||
depends_on: | ||
- chain | ||
build: | ||
context: .. | ||
dockerfile: ./docker/solver/Dockerfile | ||
args: | ||
- network=dev | ||
extra_hosts: | ||
- "localhost:host-gateway" | ||
environment: | ||
- DOPPLER_TOKEN=${DOPPLER_TOKEN_SOLVER} | ||
ports: | ||
- 8080:8080 | ||
job-creator: | ||
image: ghcr.io/lilypad-tech/job-creator | ||
container_name: job-creator | ||
depends_on: | ||
- solver | ||
build: | ||
context: .. | ||
dockerfile: ./docker/job-creator/Dockerfile | ||
args: | ||
- network=dev | ||
extra_hosts: | ||
- "localhost:host-gateway" | ||
environment: | ||
- DOPPLER_TOKEN=${DOPPLER_TOKEN_JOB_CREATOR} | ||
resource-provider: | ||
image: ghcr.io/lilypad-tech/resource-provider | ||
container_name: resource-provider | ||
privileged: true | ||
depends_on: | ||
- chain | ||
build: | ||
context: .. | ||
dockerfile: ./docker/resource-provider/Dockerfile | ||
args: | ||
- NETWORK=dev | ||
extra_hosts: | ||
- "localhost:host-gateway" | ||
environment: | ||
# - DOPPLER_TOKEN=${DOPPLER_TOKEN_RESOURCE_PROVIDER} | ||
- WEB3_PRIVATE_KEY=0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:latest as base | ||
FROM golang:latest AS base | ||
WORKDIR /usr/src/app | ||
|
||
ARG network=dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ARG expose_via=local | ||
|
||
FROM golang:latest as base | ||
FROM golang:latest AS base | ||
WORKDIR /usr/src/app | ||
|
||
ARG arch=amd64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters