Browse Source

Explicitly define umbrel.local as CORS host

Explicitly define umbrel.local as CORS host so it can be changed if the hostname is changed later if needed.
patch-1
BT 5 years ago
committed by GitHub
parent
commit
699570f783
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker-compose.yml

2
docker-compose.yml

@ -64,6 +64,7 @@ services:
JWT_PRIVATE_KEY_FILE: "/db/jwt-private-key/jwt.key"
JWT_EXPIRATION: "3600"
DOCKER_COMPOSE_DIRECTORY: $HOME
DEVICE_HOST: "umbrel.local"
middleware:
image: getumbrel/middleware:v0.1.1
command: ["./wait-for-node-manager.sh", "localhost", "npm", "start"]
@ -83,3 +84,4 @@ services:
LND_NETWORK: "mainnet"
LND_HOST: "127.0.0.1"
JWT_PUBLIC_KEY_FILE: "/jwt-public-key/jwt.pem"
DEVICE_HOST: "umbrel.local"

Loading…
Cancel
Save