Skip to content

Commit

Permalink
fix: update consul advertise url
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 26, 2023
1 parent b0ce599 commit a7cef7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/litefs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ proxy:
exit-on-error: false

lease:
type: 'consul'
candidate: ${FLY_REGION == PRIMARY_REGION}
promote: true
type: 'consul'
advertise-url: 'http://${HOSTNAME}.vm.${FLY_APP_NAME}.internal:20202'
advertise-url: 'http://${FLY_ALLOC_ID}.vm.${FLY_APP_NAME}.internal:20202'

consul:
url: '${FLY_CONSUL_URL}'
Expand Down

0 comments on commit a7cef7a

Please sign in to comment.