Skip to content

Commit

Permalink
CanDIG/federation_service merging: Hotfix: respawn heartbeat, don"t c…
Browse files Browse the repository at this point in the history
…heck your own heartbeat (#822)

* updating submodules

* pick up heartbeat fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Daisie Huang <daisieh@gmail.com>
  • Loading branch information
3 people authored Oct 18, 2024
1 parent a92c414 commit 0a521a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion etc/env/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ FEDERATION_SERVICE_URL=http://${CANDIG_INTERNAL_DOMAIN}:${FEDERATION_PORT}
FEDERATION_PUBLIC_URL=${TYK_LOGIN_TARGET_URL}/federation
FEDERATION_PRIVATE_URL=http://federation:${FEDERATION_PORT}
FEDERATION_SERVICES=katsu htsget query
FEDERATION_SELF_SERVER="{'id': 'internal-1', 'url': '${TYK_LOGIN_TARGET_URL}','location': {'name': '${CANDIG_SITE_LOCATION}','province': 'ON','province-code': 'ca-on'}}"
FEDERATION_SELF_SERVER_ID=internal-1
FEDERATION_SELF_SERVER="{'id': '${FEDERATION_SELF_SERVER_ID}', 'url': '${TYK_LOGIN_TARGET_URL}','location': {'name': '${CANDIG_SITE_LOCATION}','province': 'ON','province-code': 'ca-on'}}"


# katsu metadata service
Expand Down
1 change: 1 addition & 0 deletions lib/federation/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
VAULT_URL: ${VAULT_PRIVATE_URL}
SERVICE_NAME: ${SERVICE_NAME}
FEDERATION_SERVICE_URL: ${FEDERATION_SERVICE_URL}
FEDERATION_SELF_SERVER_ID: ${FEDERATION_SELF_SERVER_ID}
DEBUG_MODE: ${CANDIG_DEBUG_MODE}
extra_hosts:
- "${CANDIG_DOMAIN}:${LOCAL_IP_ADDR}"
Expand Down
2 changes: 1 addition & 1 deletion lib/federation/federation

0 comments on commit 0a521a1

Please sign in to comment.