<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="78235" data-post-id="78235">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jswny" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jswny/120/18428_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jswny
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I don’t really know much about Ansible but I would suspect that it either installs HAProxy to your local machine or to some kind of container/VM like Docker. Either way, you wouldn’t use the Docker network to connect your containers together since your HAProxy install wouldn’t be inside Docker. In that case, skip step 8 since you won’t need NGINX at all. Instead, check out the second note in step 6 about exposing the ports of your server container to the local host (the computer which is running Docker). Check out the Docker Compose docs here: <a href="https://docs.docker.com/compose/compose-file/#ports" class="inline-onebox" rel="noopener nofollow ugc">Compose file reference | Docker Docs</a> and use the <code>ports: ...</code> line in your compose file to expose the Phoenix server port to your local host. Then, you can use HAProxy to proxy port 80 traffic from the correct domain to your internal port that you exposed with Docker Compose (just like NGINX was doing).</p>
<p>I don’t know much about Ansible or HAProxy but I’m sure the above solution would work. Let me know if that makes sense <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="78235" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-78235" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="78235"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="79042" data-post-id="79042">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maz/120/6075_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>OK thanks for the guidance. WIll chip away at this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79042" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-79042" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79042"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="79268" data-post-id="79268">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maz/120/6075_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>ok I’m at step 9. I skipped step 8 because I’m not using nginx(see above). I also removed all ‘nginx-network’ references because the exposure to the outside world will be managed by HAProxy. Anyway I do:</p>
<p><code>docker-compose up</code></p>
<p>and the first time it ran it build alpine linux + erlang but at the build admin phase there seems to be a file missing. Any suggestions? where is this path? it’s not on the build machine(my mac). when I do <code>docker container ls</code> I get zero items.</p>
<p>docker-compose.yml is after the log trace ..</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">~/webapp/phx/kjvrvg (deploy-docker ✘)✹ ᐅ docker-compose up                 
Building admin
Step 1/5 : FROM bitwalker/alpine-erlang:20.2.2
 ---&gt; ef93f28a7c3c
Step 2/5 : ENV MIX_ENV=prod
 ---&gt; Using cache
 ---&gt; 43ae9eab9504
Step 3/5 : ADD _build/prod/rel/kjvrvg/releases/0.0.1/kjvrvg.tar.gz ./
ERROR: Service 'admin' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder271096858/_build/prod/rel/kjvrvg/releases/0.0.1/kjvrvg.tar.gz: no such file or directory

</code></pre>
<p>docker-compose.yml:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">version: "3"
services:
  db:
    image: postgres:10.2-alpine
    container_name: kjvrvg-db
    environment:
      - POSTGRES_PASSWORD=postgres 
      - POSTGRES_DB=kjvrvg_prod
    # networks:
    #   - nginx-network
  admin:
    image: kjvrvg-release
    container_name: kjvrvg-admin
    build:
      context: .
      dockerfile: Dockerfile.run
    command: migrate
    # networks:
    #   - nginx-network
    depends_on:
      - db
  server:
    image: kjvrvg-release
    container_name: kjvrvg-server
    environment:
      - PORT=5000
      - HOST="maz.me"
    expose:
      - "5000"
    command: foreground
    # networks:
    #   - nginx-network
    depends_on:
      - db
      - admin
    ports:
      - "5000:5000"
# networks:
#   nginx-network:
#     external: true
</code></pre>
<p>Dockerfile.run:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">FROM bitwalker/alpine-erlang:20.2.2

# Set environment variables
ENV MIX_ENV=prod

# Copy tarball release
ADD _build/prod/rel/kjvrvg/releases/0.0.1/kjvrvg.tar.gz ./

# Set user
USER default

# Set entrypoint
ENTRYPOINT ["./bin/kjvrvg"]

</code></pre>
<p>ADDITIONAL CONTEXT:</p>
<p>Here is the log of the original run. I noticed that the network created is “kjvrvgphx_default” which is not the name of the app (kjvrvg). Not sure if this could be the issue. After this run, I commented-out all references to <code>ngnx-network</code> in the docker-compose file. I’m still confused WHERE this missing file path is. There are no containers running or cached as far as I can tell.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">~/webapp/phx/kjvrvg-phx (deploy-docker ✔) ᐅ docker-compose up
Creating network "kjvrvgphx_default" with the default driver
Pulling db (postgres:10.2-alpine)...
10.2-alpine: Pulling from library/postgres
ff3a5c916c92: Pull complete
a503b44e1ce0: Pull complete
211706713093: Pull complete
8df57d533e71: Pull complete
7858f71c02fb: Pull complete
55a8ef17ba59: Pull complete
3fb44f23d323: Pull complete
65cad41156b3: Pull complete
5492a5bead70: Pull complete
Digest: sha256:2cdf8430d7c1f59b3d3808f672944491aabf0fdf15da5b5e158e9fa4162453bf
Status: Downloaded newer image for postgres:10.2-alpine
Building admin
Step 1/5 : FROM bitwalker/alpine-erlang:20.2.2
20.2.2: Pulling from bitwalker/alpine-erlang
2fdfe1cd78c2: Pull complete
dca9997744b6: Pull complete
f36bae45af9b: Pull complete
Digest: sha256:bbd15b4728797e5d95aef467b456737782706f1a52951ac360643620da789771
Status: Downloaded newer image for bitwalker/alpine-erlang:20.2.2
 ---&gt; ef93f28a7c3c
Step 2/5 : ENV MIX_ENV=prod
 ---&gt; Running in bac96ef5e2d3
Removing intermediate container bac96ef5e2d3
 ---&gt; 43ae9eab9504
Step 3/5 : ADD _build/prod/rel/kjvrvg/releases/0.0.1/kjvrvg.tar.gz ./
ERROR: Service 'admin' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder980064711/_build/prod/rel/kjvrvg/releases/0.0.1/kjvrvg.tar.gz: no such file or directory
</code></pre>
<p>also:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">~/webapp/phx/kjvrvg (deploy-docker ✘)✹ ᐅ docker rmi kjvrvg-build kjvrvg-release
Error: No such image: kjvrvg-build
Error: No such image: kjvrvg-release
</code></pre>
<p>build.sh</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">#!/bin/sh

# Remove old releases
rm -rf _build/prod/rel/*

# Build the image
docker build --rm -t kjvrvg-build -f Dockerfile.build .

# Run the container
docker run -it --rm --name kjvrvg-build -v $(pwd)/_build/prod/rel:/opt/app/_build/prod/rel kjvrvg-build

</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79268" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-79268" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79268"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="79283" data-post-id="79283">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="NobbZ" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/NobbZ/120/27235_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  NobbZ
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You are deleting your builds in the build.sh, you need to rebuild your release after that.</p>
<p>The name of the network is automatically created from the name of the folder you are in with docker-compose and unrelated to your problem. That name is usually not important.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79283" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-79283" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79283"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #24"></div>
  </section>
</div>
    <div class="postbit" id="79396" data-post-id="79396">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maz/120/6075_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I never called build.sh. Sorry, probably shouldn’t have appended that.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79396" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-79396" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79396"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #25"></div>
  </section>
</div>
    <div class="postbit" id="79400" data-post-id="79400">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jswny" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jswny/120/18428_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jswny
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You need to call <code>build.sh</code> though. The system works in two stages:</p>
<ol>
<li>The first stage is building the release tarball, which requires you call <code>build.sh</code>, which uses <code>Dockerfile.build</code> to build your release tarball in <code>_build</code> with Distillery</li>
<li>Only after you have done that can you call <code>docker-compose up</code> to actually run the app using <code>Dockerfile.run</code>.</li>
</ol>
<p>Let me know if that works!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79400" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-79400" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79400"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #26"></div>
  </section>
</div>
    <div class="postbit" id="79408" data-post-id="79408">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="maz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/maz/120/6075_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  maz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yes, that helped thanks and I got the release built .. with webpack too!</p>
<p>So now I have a release but no network so does that still mean that kjvrvg-server got deployed like the section below? even though I commented-out <code>nginx-network</code>? All I have to do is link up my HAProxy?</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  server:
    image: kjvrvg-release
    container_name: kjvrvg-server
    environment:
      - PORT=5000
      - HOST="maz.me"
</code></pre>
<p>One of the things with HAProxy is that it seems to expect an IP address for the internal node:</p>
<p><code>   server server1 127.0.0.1:8000 maxconn 32</code></p>
<p>but the proxy forwarding with nginx does not necessarily need one. Not sure how to get around this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79408" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-79408" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79408"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #27"></div>
  </section>
</div>
    <div class="postbit" id="79410" data-post-id="79410">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="AndersHansson" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/AndersHansson/120/4102_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  AndersHansson
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This is awesome! Thanks for the useful guide and all related comments everyone. <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79410" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-79410" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79410"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #28"></div>
  </section>
</div>
    <div class="postbit" id="79411" data-post-id="79411">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dgamidov" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dgamidov/120/672_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dgamidov
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/jswny" rel="nofollow">@jswny</a>, I found myself using Swarm cluster with apps running as services. You can have Swarm cluster with 1 machine.<br>
In Swarm this configuration will allow you to restart your application container without nginx or start nginx before your applications:</p>
<pre><code>  resolver 127.0.0.11 ipv6=off valid=30s;

  set $upstream app_umbrella:80;

  location / {
    proxy_pass http://$upstream;
  }
</code></pre>
<p>It helps when you need to update your service with new version and do not want to restart nginx service.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79411" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-79411" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79411"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #29"></div>
  </section>
</div>
    <div class="postbit" id="79462" data-post-id="79462">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jswny" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jswny/120/18428_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jswny
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That’s pretty cool, I’ll have to check out Swarm. I admit it has been on my radar but I haven’t had time to look into it yet <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> You can actually leave NGINX running when you restart you services, but it might spam your logs with service unavailable stuff.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="79462" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/flexible-dockerized-phoenix-deployments-1-2-1-3/12477/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-79462" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="79462"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #30"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/12477/load_more?page=4">Load more posts (44 remaining)</a>
</div></template></turbo-stream>