Keep cockroach running for the moment.

This commit is contained in:
Ivaylo Novakov 2021-12-08 17:39:22 +01:00
parent 95c11deb22
commit d0ce8b9a2c
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 18 additions and 0 deletions

View File

@ -77,3 +77,21 @@ services:
- 3000
depends_on:
- mongo
cockroach:
image: cockroachdb/cockroach:v20.2.3
container_name: cockroach
restart: unless-stopped
logging: *default-logging
env_file:
- .env
command: start --advertise-addr=${CR_IP} --join=${CR_CLUSTER_NODES} --certs-dir=/certs --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080
volumes:
- ./docker/data/cockroach/sqlite:/cockroach/cockroach-data
- ./docker/cockroach/certs:/certs
ports:
- "4080:8080"
- "26257:26257"
networks:
shared:
ipv4_address: 10.10.10.84