Hello,
I’m trying to deploy this Elixir app GitHub - mirego/accent: The first developer-oriented translation tool. True asynchronous flow between translators and your team..
It should be pretty easy because I already had it running on Heroku with Dockerfile what they have in that repo. But it doesn’t work with Fly.
Issue is with connecting with postgresql, I tried it yesterday and today. I attached postgresql with fly cli and I see secret in application.
failed to connect: ** (DBConnection.ConnectionError) tcp connect (top2.nearest.of.cookienovo-db.internal:5432): non-existing domain - :nxdomain
Dockerfile is same as it is in repo, I just added this at the bottom, also tried without it.
# Appended by flyctl
ENV ECTO_IPV6 true
ENV ERL_AFLAGS "-proto_dist inet6_tcp"
Toml is just generated one with these envs:
DATABASE_POOL_SIZE = 5
PORT = "8080"
I’m not able to connect to that app with fly ssh console
too, it’s just connecting. Fly doctor looks ok, I’m able to connect and play with other apps without any problems.
fly ssh console
Connecting to top1.nearest.of.cookienovo-accent.internal... complete
Error error connecting to SSH server: connect tcp [fdaa:0:7c41:a7b:a992:66dd:5ad1:2]:22: operation timed out