This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add services docker container (#788)
Close #724
- Loading branch information
Showing
7 changed files
with
103 additions
and
9 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
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 |
---|---|---|
|
@@ -5,6 +5,11 @@ authors = ["Espresso Systems <[email protected]>"] | |
edition = "2018" | ||
description = "Web server that maintains a persistent mapping from user addresses to user public keys" | ||
license = "GPL-3.0-or-later" | ||
default-run = "address-book" | ||
|
||
[[bin]] | ||
name = "address-book" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
build-docker-base | ||
docker build -t cape/services -f ./services.Dockerfile . |
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 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
build-docker-base | ||
docker build . | ||
docker build -t cape/wallet -f ./wallet.Dockerfile . |
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,24 @@ | ||
FROM nix-base-docker | ||
|
||
# EQS | ||
# docker run --workdir /app/eqs -it cape/services /app/eqs/eqs | ||
COPY target/release/eqs /app/eqs/eqs | ||
RUN chmod +x /app/eqs/eqs | ||
COPY eqs/api /app/eqs/api | ||
|
||
# Minimal relayer | ||
# docker run -it cape/services /app/relayer/minimal-relayer | ||
COPY target/release/minimal-relayer /app/relayer/minimal-relayer | ||
RUN chmod +x /app/relayer/minimal-relayer | ||
|
||
# Faucet | ||
# docker run -it cape/services /app/faucet/faucet | ||
COPY target/release/faucet /app/faucet/faucet | ||
RUN chmod +x /app/faucet/faucet | ||
|
||
# Address book | ||
# docker run -it cape/services /app/address-book/address-book | ||
COPY target/release/address-book /app/address-book/address-book | ||
RUN chmod +x /app/address-book/address-book | ||
|
||
WORKDIR /app/ |
File renamed without changes.