Skip to content

Commit

Permalink
Fix for fly.
Browse files Browse the repository at this point in the history
  • Loading branch information
twitchax committed Jan 11, 2024
1 parent 9601e64 commit f6e07df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docker/app.entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!bin/bash

export FLY_UDP_IP=$(ip a show eth0 secondary | grep -oP 'inet \K[\d.]+')

/lunatic node --bind-socket $FLY_UDP_IP:3031 $1
/lunatic node --bind-socket $FLY_PRIVATE_IP:3031 $1
2 changes: 1 addition & 1 deletion lucidity/src/fly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fn create_machine(key: &str, app_name: &str, machine_name: &str, region: &str, l
format!("http://{}.vm.{}.internal:3030/", local_machine_id, app_name)
]
},
"image": "twitchax/lunatic:2024.01.06",
"image": "twitchax/lunatic:2024.01.10",
"auto_destroy": true,
"restart": {
"policy": "always"
Expand Down

0 comments on commit f6e07df

Please sign in to comment.