-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cherry-picked [master a69e22c]: Allow to run docker-compose without f…
…eefeed docker (#1726) * refactor: abstract steps in circle ci to make file for perf * chore: seperate docker-compose file for feefeed to allow public contributor to run without feefeed docker * fix: make start-services command with feefeed * refactor: move mix format for api generated code back to CI * debug: add debug CI workflow * style: simplify docker-compose file * debug: add log service command to perf * do not set env var in makefile * back to run whole workflow * refactor: COMPOSE_FULL_SERVICES in makefile * chore: spaces instead of tab in .gitmodules
- Loading branch information
Showing
6 changed files
with
171 additions
and
85 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 |
---|---|---|
@@ -1,4 +0,0 @@ | ||
[submodule "priv/cabbage"] | ||
path = priv/cabbage | ||
url = [email protected]:omgnetwork/specs.git | ||
branch = master | ||
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
version: "2.3" | ||
services: | ||
childchain: | ||
environment: | ||
- FEE_ADAPTER=feed | ||
- FEE_FEED_URL=http://172.27.0.107:4000/api/v1 | ||
depends_on: | ||
feefeed: | ||
condition: service_healthy | ||
|
||
postgres_feefeed: | ||
image: postgres:12.2-alpine | ||
ports: | ||
- "5433:5432" | ||
restart: always | ||
healthcheck: | ||
test: pg_isready -U feefeed | ||
interval: 5s | ||
timeout: 3s | ||
retries: 5 | ||
environment: | ||
POSTGRES_USER: feefeed | ||
POSTGRES_PASSWORD: feefeed | ||
POSTGRES_DB: feefeed | ||
networks: | ||
chain_net: | ||
ipv4_address: 172.27.0.106 | ||
|
||
feefeed: | ||
image: "omisego/feefeed:latest" | ||
command: "start" | ||
container_name: feefeed | ||
environment: | ||
- GITHUB_TOKEN="" | ||
- GITHUB_ORGANISATION=omgnetwork | ||
- GITHUB_REPO=fee-rules-public | ||
- GITHUB_BRANCH=master | ||
- RULES_FETCH_INTERVAL=20 | ||
- RATES_FETCH_INTERVAL=20 | ||
- GITHUB_FILENAME=fee_rules | ||
- DATABASE_URL=postgresql://feefeed:[email protected]:5432/feefeed | ||
- SECRET_KEY_BASE="Y8naENMR8b+vbPHILjwNtEfWFrnbGi2k+UYWm75VnKHfsavmyGLtTmmeJxAGK+zJ" | ||
- DATADOG_DISABLED=true | ||
- DATADOG_HOST="localhost" | ||
- ETHEREUM_NODE_URL=http://172.27.0.102:80 | ||
ports: | ||
- "4000:4000" | ||
expose: | ||
- "4000" | ||
depends_on: | ||
postgres_feefeed: | ||
condition: service_healthy | ||
nginx: | ||
condition: service_healthy | ||
restart: always | ||
healthcheck: | ||
test: curl localhost:4000 | ||
interval: 30s | ||
timeout: 1s | ||
retries: 5 | ||
start_period: 30s | ||
networks: | ||
chain_net: | ||
ipv4_address: 172.27.0.107 |
Submodule cabbage
deleted from
96d67f
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