Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,8 @@ APOLLO_DB_CONSISTENCY=one
APOLLO_DB_KEYSPACE=apollo
APOLLO_DB_CLUSTER=scylla

SUPERCLUSTER_LISTEN_PORT=8001
SUPERCLUSTER_ADDRESS=supercluster:8001
SUPERCLUSTER_ETCD_ADDRESS=supercluster_etcd:2379
SUPERCLUSTER_ETCD_PORT=2379

35 changes: 35 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,39 @@ services:
networks:
network:
ipv4_address: 10.5.0.125

supercluster:
build:
context: ../supercluster/dataspace-service
dockerfile: Dockerfile
image: supercluster
container_name: supercluster
restart: on-failure
environment:
- NATS_ADDRESS=${NATS_HOSTNAME}:${NATS_PORT}
- SUPERCLUSTER_ETCD_ADDRESS=${SUPERCLUSTER_ETCD_ADDRESS}
- MERIDIAN_ADDRESS=${MERIDIAN_ADDRESS}
- SUPERCLUSTER_LISTEN_PORT=${SUPERCLUSTER_LISTEN_PORT}
ports:
- ${SUPERCLUSTER_LISTEN_PORT}:${SUPERCLUSTER_LISTEN_PORT}
networks:
network:
ipv4_address: 10.5.0.126
depends_on:
- nats
- supercluster_etcd

supercluster_etcd:
image: 'bitnami/etcd:latest'
container_name: supercluster_etcd
environment:
- ALLOW_NONE_AUTHENTICATION=yes
- ETCD_ADVERTISE_CLIENT_URLS=http://${SUPERCLUSTER_ETCD_ADDRESS}
volumes:
- supercluster_etcd_data:/bitnami/etcd
networks:
network:
ipv4_address: 10.5.0.127

networks:
network:
Expand Down Expand Up @@ -513,3 +546,5 @@ volumes:
driver: local
pulsar_etcd_data:
driver: local
supercluster_etcd_data:
driver: local
4 changes: 2 additions & 2 deletions vault/api_key.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"root_key": "hvs.kTnCEMPoG86vNO4SBHZO9WSj",
"unseal_key": "fe2a0938d76bf449b488d8c0b5a40e86ae8e640efd2614c21da29c3ba6379ed0"
"root_key": "hvs.wzTjUAxiZSXxwNTdlIJyP7kB",
"unseal_key": "3e264c7e628ec7a5c3246c1174d7dff4119a23dd9945fb66a3057fe471f57066"
}
5 changes: 5 additions & 0 deletions windows.env
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,8 @@ APOLLO_DB_CONSISTENCY=one
APOLLO_DB_KEYSPACE=apollo
APOLLO_DB_CLUSTER=scylla

SUPERCLUSTER_LISTEN_PORT=8001
SUPERCLUSTER_ADDRESS=supercluster:8001
SUPERCLUSTER_ETCD_ADDRESS=supercluster_etcd:2379
SUPERCLUSTER_ETCD_PORT=2379