Skip to content

Commit

Permalink
(infra): adding Vitess to docker-compose.yml minds/engine#2357
Browse files Browse the repository at this point in the history
  • Loading branch information
zackwy authored and markharding committed Jul 28, 2022
1 parent af9e8a3 commit 53fbe2e
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 53fbe2e

Please sign in to comment.