Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Apr 3, 2024
1 parent 191b7a8 commit 3d1a10c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM spqr-base-image
RUN apt-get update && apt-get install -y postgresql-client
COPY ./docker/router/ssl/localhost.crt /etc/spqr/ssl/server.crt
COPY ./docker/router/ssl/localhost.key /etc/spqr/ssl/server.key
ENTRYPOINT CONFIG_PATH=${ROUTER_CONFIG=/spqr/docker/router/cfg.yaml} COORD_CONFIG_PATH=${COORDINATOR_CONFIG=/spqr/docker/coordinator/cfg.yaml} && CUR_HOST=$(cat ${CONFIG_PATH} | grep "host:") && sed -i "s/${CUR_HOST}/${ROUTER_HOST=${CUR_HOST}}/g" ${CONFIG_PATH} && /spqr/spqr-router run --config ${CONFIG_PATH} --coordinator-config ${COORD_CONFIG_PATH}
ENTRYPOINT CONFIG_PATH=${ROUTER_CONFIG=/spqr/docker/router/cfg.yaml} COORD_CONFIG_PATH=${COORDINATOR_CONFIG=/spqr/docker/coordinator/cfg.yaml} && CUR_HOST=$(cat ${CONFIG_PATH} | grep "host:") && sed -i "s/${CUR_HOST}/${ROUTER_HOST=${CUR_HOST}}/g" ${CONFIG_PATH} && /spqr/spqr-router run --config ${CONFIG_PATH} --coordinator-config ${COORD_CONFIG_PATH} >> ${ROUTER_LOG}
1 change: 0 additions & 1 deletion test/feature/conf/router_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ admin_console_port: '7432'
grpc_api_port: '7000'
router_mode: PROXY
log_level: debug
log_filename: router.log
time_quantiles:
- 0.75
world_shard_fallback: true
Expand Down
2 changes: 2 additions & 0 deletions test/feature/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ services:
- "7012:7002"
environment:
- ROUTER_CONFIG=${ROUTER_CONFIG}
- ROUTER_LOG='router1.log'
- 'ROUTER_HOST=host: ''regress_router'''
- COORDINATOR_CONFIG=${COORDINATOR_CONFIG}
hostname: regress_router
Expand All @@ -65,6 +66,7 @@ services:
- "7022:7002"
environment:
- ROUTER_CONFIG=${ROUTER_CONFIG}
- ROUTER_LOG='router2.log'
- 'ROUTER_HOST=host: ''regress_router_2'''
- COORDINATOR_CONFIG=${COORDINATOR_CONFIG_2}
hostname: regress_router_2
Expand Down

0 comments on commit 3d1a10c

Please sign in to comment.