-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating for agent0 and various cleanup #118
Changes from all commits
fc75736
e6e6f8c
706d564
16fbe22
84a3366
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
services: | ||
checkpoint-bot: | ||
image: ${AGENT0_IMAGE} | ||
profiles: | ||
- "service-bot" | ||
command: | | ||
/bin/sh -c "sleep 1; python scripts/checkpoint_bots.py --pool-check-sleep-blocks 30 --infra" | ||
env_file: | ||
- .env | ||
|
||
invariance-check-bot: | ||
image: ${AGENT0_IMAGE} | ||
profiles: | ||
- "service-bot" | ||
command: | | ||
/bin/sh -c "sleep 1; python scripts/fuzz_bot_invariant_checks.py --pool-check-sleep-blocks 30 --infra" | ||
env_file: | ||
- .env | ||
|
||
random-bot: | ||
image: ${AGENT0_IMAGE} | ||
profiles: | ||
- "random-bot" | ||
command: | | ||
/bin/sh -c "sleep 1; python scripts/remote_fuzz_bots.py --pool-check-sleep-blocks 10000 --infra" | ||
env_file: | ||
- .env | ||
|
||
# TODO rewrite rate bot in agent0 | ||
slundqui marked this conversation as resolved.
Show resolved
Hide resolved
|
||
rate-bot: | ||
image: ${RATE_BOT_IMAGE} | ||
profiles: | ||
- "rate-bot" | ||
volumes: | ||
- artifacts:/artifacts/ | ||
|
||
volumes: | ||
artifacts: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
ethereum: | ||
# This file overwrites docker-compose.anvil.yaml | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
|
||
data: | ||
|
@@ -15,7 +14,7 @@ services: | |
profiles: | ||
- "data" | ||
working_dir: /app/ | ||
command: /bin/sh -c "python scripts/run_data_analysis.py" | ||
command: /bin/sh -c "python scripts/run_analyze_data.py" | ||
env_file: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no sleep here... do we need it? |
||
- .env | ||
|
||
|
@@ -37,15 +36,5 @@ services: | |
mem_reservation: "1g" | ||
restart: always | ||
|
||
# Set initial username mappings | ||
init-usernames: | ||
image: ${AGENT0_IMAGE} | ||
profiles: | ||
- "data" | ||
working_dir: /app/ | ||
command: /bin/sh -c "python scripts/update_usernames.py" | ||
env_file: | ||
- .env | ||
|
||
volumes: | ||
artifacts: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
|
||
frontend: | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
|
||
ethereum: | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
ethereum: | ||
# This file overwrites docker-compose.anvil.yaml | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
POSTGRES_USER=admin | ||
POSTGRES_PASSWORD=password | ||
POSTGRES_DB=postgres_db | ||
POSTGRES_DB=agent0_db | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: if we expect to have more than one db present on the postgres instance, we might want to indicate that by changing the env variables in the # .env
AGENT0_POSTGRES_USER=admin
AGENT0_POSTGRES_PASSWORD=password
AGENT0_POSTGRES_DB=agent0_db
MY_POSTGRES_USER=me
MY_POSTGRES_PASSWORD=yo
MY_POSTGRES_DB=my_db then in the compose file.... environment:
POSTGRES_PASSWORD: $AGENT0_POSTGRES_PASSWORD
POSTGRES_USER: $AGENT0_POSTGRES_USER
POSTGRES_DB: $AGENT0_POSTGRES_DB might need to pass as args rather than env vars since I'm not sure if |
||
POSTGRES_HOST="db" | ||
POSTGRES_PORT=5432 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kinda curious why we need the sleep?