diff --git a/docker-compose.yml b/docker-compose.yml index 7256a44ab..7f1c0b0d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,7 @@ services: - rabbitmq - redis - pulsar + - vitess networks: - app volumes: @@ -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 @@ -204,6 +221,7 @@ volumes: keys: pulsardata: pulsarconf: + vitess: networks: app: