Skip to content

Commit

Permalink
feat: add bindings services to edge gateway (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Aug 31, 2022
1 parent 93d8688 commit f031330
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/edge-gateway/wrangler.toml
Expand Up @@ -32,6 +32,12 @@ GATEWAY_HOSTNAME = 'ipfs.nftstorage.link'
DEBUG = "false"
ENV = "production"

[[env.production.services]]
binding = "EDGE_GATEWAY"
type = "service"
service = "dotstorage-edge-gateway-production"
environment = "production"

# Staging!
[env.staging]
# name = "gateway-nft-storage-staging"
Expand All @@ -49,6 +55,12 @@ GATEWAY_HOSTNAME = 'ipfs-staging.nftstorage.link'
DEBUG = "true"
ENV = "staging"

[[env.staging.services]]
binding = "EDGE_GATEWAY"
type = "service"
service = "dotstorage-edge-gateway-staging"
environment = "production"

# Test!
[env.test]
workers_dev = true
Expand Down

0 comments on commit f031330

Please sign in to comment.