<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FusionAuth with Fly.io]]></title><description><![CDATA[<p dir="auto">Hey, Am trying to deploy  fusionauth to <a href="https://fly.io/" rel="nofollow ugc">fly.io</a> using docker image.</p>
<p dir="auto">I have been  going through and trying different method to build and deploy docker the image but no lock yet.</p>
<p dir="auto">I tried building the docker image from as mention <a href="https://fusionauth.io/download" rel="nofollow ugc">https://fusionauth.io/download</a> with docker option.<br />
For this test my dockerFile was</p>
<pre><code>FROM debian:buster-slim
RUN apt-get update &amp;&amp; apt-get install -y \
    curl \
    ca-certificates
RUN curl -o docker-compose.yml https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/master/docker/fusionauth/docker-compose.yml &amp;&amp; curl -o .env https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/master/docker/fusionauth/.env &amp;&amp; docker-compose up
 
</code></pre>
<pre><code>Step 8/13 : RUN sh -c "curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-install/master/install.sh | sh -s - -z"
 ---&gt; Running in e3ad682f1af2
sh: 64: &lsqb;&lsqb;: not found
Illegal option -z
FusionAuth FastPath(tm) installer

Usage:
  ./install.sh [options]

OPTIONS:
  -s   Include the search engine with this install. Defaults to database search if this is not present.
  -h   Display this message.

Environment:
  TARGET_DIR  Choose a location to install to if using the zip. Defaults to $PWD/fusionauth.
  VERSION     Choose a version to install. Defaults to the latest stable version.
The command '/bin/sh -c sh -c "curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-install/master/install.sh | sh -s - -z"' returned a non-zero code: 1

</code></pre>
<p dir="auto">I also tried using the docker-compose  as mentioned   <a href="https://fusionauth.io/docs/v1/tech/installation-guide/docker" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/installation-guide/docker</a>  just to mention Fly.oi only support docker image  and we already have postgres deployed.</p>
<p dir="auto">My <code>docker-compose.yml</code> looks</p>
<pre><code>version: '3'

services:
  fusionauth:
    image: fusionauth/fusionauth-app:latest
    restart: unless-stopped
    ports:
      - 9011:9011
    volumes:
      - fa_config:/usr/local/fusionauth/config

volumes:
  db_data:
  fa_config:

</code></pre>
<p dir="auto">I have also tried  as shown below but am not sure the entry point or the path to run the app from the  <code>FusionAuth</code>  docker image.</p>
<p dir="auto">the <code>dockerfile</code></p>
<pre><code>FROM  fusionauth/fusionauth-app:latest
FROM debian:buster-slim
RUN apt-get update &amp;&amp; apt-get install -y \
    --no-install-recommends

RUN groupadd -g 999 appuser &amp;&amp; \
    useradd -r -u 999 -g appuser appuser
WORKDIR /fusionauth
RUN chown appuser /fusion_auth
USER appuser
COPY . .
CMD ["what should be here  ? "]
</code></pre>
<p dir="auto">So my question is how to deploy <code>Fusionauth</code> app using docker image?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2154/fusionauth-with-fly-io</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 10:53:38 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2154.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Aug 2022 11:11:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FusionAuth with Fly.io on Fri, 14 Oct 2022 14:32:47 GMT]]></title><description><![CDATA[<p dir="auto">For future readers, <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1872">@duke</a> wrote up an entire article about this: <a href="https://medium.com/@osain/deploying-fusionauth-docker-on-fly-io-8fbeb0469556" rel="nofollow ugc">https://medium.com/@osain/deploying-fusionauth-docker-on-fly-io-8fbeb0469556</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/5562</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5562</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 14 Oct 2022 14:32:47 GMT</pubDate></item></channel></rss>