Skip to content

Commit 20277d1

Browse files
authored
Add instructions for static IP to fly guide (#240)
1 parent d23a59f commit 20277d1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

guides/deploying/fly.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
Elixir WebRTC-based apps can be easily deployed on [Fly.io](https://fly.io)!
44

5-
There are just three things you need to do:
5+
There are just four things you need to do:
66

77
* configure a STUN server both on the client and server side
88
* use a custom Fly.io IP filter on the server side
99
* slightly modify the auto-generated Dockerfile
10+
* ensure you have a static IP
1011

1112
In JavaScript code:
1213

@@ -55,7 +56,8 @@ Now:
5556
+ && apt-get clean && rm -f /var/lib/apt/lists/*_*
5657
```
5758

58-
3. Run `fly deploy` to retry.
59+
3. Follow instructions [here](https://fly.io/docs/networking/udp-and-tcp/#you-need-a-dedicated-ipv4-address) to add a dedicated IPv4 address.
60+
4. Run `fly deploy` to retry.
5961

6062
That's it!
61-
No special UDP port exports or dedicated IP address are needed :)
63+
No special UDP port exports are needed :)

0 commit comments

Comments
 (0)