Skip to content

Commit

Permalink
Merge branch 'infa/vitess-local-2357' into 'master'
Browse files Browse the repository at this point in the history
(infra): adding Vitess to docker-compose.yml minds/engine#2357

See merge request minds/minds!206
  • Loading branch information
markharding committed Jul 28, 2022
2 parents af9e8a3 + 53fbe2e commit f818865
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
- rabbitmq
- redis
- pulsar
- vitess
networks:
- app
volumes:
Expand Down Expand Up @@ -173,6 +174,22 @@ services:
- pulsardata:/pulsar/data
- pulsarconf:/pulsar/conf

## Vitess

vitess:
image: registry.gitlab.com/minds/infrastructure/vitess/local:latest
# Local image wants to launch bash by default, so override with a continuous sleep
command: /bin/bash -c "cd /vt/local && ./101_initial_cluster.sh && while true; do echo sleeping... && sleep 30s; done"
networks:
- app
ports:
- 15000:15000
- 15001:15001
- 15991:15991
- 15999:15999
- 15306:15306
volumes:
- vitess:/vt/vtdataroot

## METASCRAPER SERVER

Expand Down Expand Up @@ -204,6 +221,7 @@ volumes:
keys:
pulsardata:
pulsarconf:
vitess:

networks:
app:
Expand Down

0 comments on commit f818865

Please sign in to comment.