Skip to content

Commit

Permalink
fix: added bug fixes
Browse files Browse the repository at this point in the history
- fixed autoupdate need trigger docker-compose up initially
- added generate prisma file and shared to validator service
  • Loading branch information
codebender37 committed Oct 24, 2024
1 parent f772ef2 commit 6b99ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions auto_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def main(service_name):
config = CONFIG[service_name]

pull_docker_images(config["images"])
restart_docker(service_name)

try:
# Start the periodic check loop
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ volumes:
redis-validator-volume:
prisma-pip-cache:
prisma-binary:
prisma-data:

networks:
dojo-validator:
Expand Down Expand Up @@ -98,6 +99,7 @@ services:
volumes:
- prisma-pip-cache:/root/.cache/pip
- prisma-binary:/root/prisma-python
- prisma-data:/app/database/prisma
- ./:/app
networks:
- dojo-validator
Expand All @@ -115,6 +117,7 @@ services:
- ./.env.validator:/app/.env
- $HOME/.bittensor:/root/.bittensor
- prisma-binary:/root/prisma-python
- prisma-data:/app/database/prisma
command: ["validator"]
networks:
- dojo-validator
Expand Down

0 comments on commit 6b99ddc

Please sign in to comment.