Fly.io is a global application distribution platform. Fly.io runs code in Firecracker microVMs in edge locations around the world.
Questions tagged [fly]
85 questions
0
votes
0 answers
Build failed error when deploying to fly.io
Deploying a Rails app to fly.io and get an error. I suspect a corrupt file or something similar but do not understand what is being built at the moment of failure
=> ERROR [stage-4 5/5] RUN **bin/rails fly:build** …

Greg
- 2,359
- 5
- 22
- 35
0
votes
0 answers
Why is `prisma db push` hanging?
prisma db push hangs and then returns
Error: P1017
Server has closed the connection.
and when I look at what it's doing, I see:
SELECT query FROM pg_stat_activity WHERE usename='...';
…

Jeffrey Yasskin
- 5,171
- 2
- 27
- 39
0
votes
1 answer
Azure Function to communicate to external service via VPN
I would like my azure function to be able to access a postgres db hosted on fly.io, however, to connect to the fly.io organisation I need to do it via a VPN/wireguard-tunnel as its hosted on a private network. Is this possible with an azure…

Chris
- 1
0
votes
0 answers
Strapi error ENOTFOUND at GetAddrInfoReqWrap.onlookup when deploying to fly.io
I'm trying to deploy strapi app to fly.io.
Here's my Dockerfile:
FROM node:16-alpine
WORKDIR /usr/app
ENV NODE_ENV=production
ENV URL=https://app-url.fly.dev
#Install dependencies
COPY ./package.json ./yarn.lock ./
RUN yarn install
#Copy…

loki_balboa
- 39
- 2
- 9
0
votes
0 answers
How do I install the required dependencies needed for puppeteer running in docker (for fly io)?
Problem: My app is deployed to Fly.io . I use puppeteer to grab search results from a few different websites. It works fine on my local machine, I've done tests etc, so there's no issues as far as the code goes.
The issue is that because puppeteer…

bluenaxela
- 23
- 5
0
votes
1 answer
Mongo backend not connecting when deploying to fly.io
I deployed an app to fly.io,the front end is showing up, but the backend isn't connecting.So, not seeing any backend data and unable to interact with mongoDB atlas. The logs that show can be seen here: https://i.stack.imgur.com/eczdL.png

Sod
- 1
- 1
0
votes
0 answers
File not copied to Docker image
My project is an Elixir Phoenix webapp structured as follows:
project_root
|_Dockerfile
|_app1
|
|_app2
| |_assets
| |_words.txt
|
|_app3
where app1 has app3 as a dependency and app3 has app2 as a dependency.
My Dockerfile includes the…

stevensonmt
- 702
- 1
- 6
- 19
0
votes
1 answer
concourse : destroy pipelines with fly command
I have a list of pipelines called for example :
test-run-First
test-run-Me
test-run-djfhd
test-run-jhfkjdh
...
I would like to destroy these pipelines, how can I apply :
fly -t test destroy-pipeline -p "all pipelines starting with test-run-*" ?…

user281070
- 1,341
- 4
- 11
- 16
0
votes
1 answer
ReferenceError: window is not defined with ReactJS
Good evening, I'm using react 16.3.2 on Ubuntu and am wanting to integrate my new react application with this software.
My webpack.fly.config.js file:
const path = require("path");
const webpack = require("webpack");
const bundlePath =…

logos_164
- 736
- 1
- 13
- 31
-1
votes
1 answer
How can I deploy a Next JS and Pocketbase project to any server?
I have a Next JS project with Pocketbase as its backend. The project runs well on localhost but when I upload to a server, one of two things goes wrong. Either:
The Next JS works but Pocketbase doesn't (on Vercel), or
The frontend doesn't work so I…

Richard Aginga
- 29
- 5