<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>postgres Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/postgres/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/postgres/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Fri, 06 Dec 2024 09:44:18 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>postgres Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/postgres/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>L&#8217;Oracle s&#8217;ouvre et lance des requêtes encryptées pour déjouer les DDoS</title>
		<link>https://www.clever.cloud/podcast/loracle-souvre-et-lance-des-requetes-encryptees-pour-dejouer-les-ddos/</link>
					<comments>https://www.clever.cloud/podcast/loracle-souvre-et-lance-des-requetes-encryptees-pour-dejouer-les-ddos/#respond</comments>
		
		<dc:creator><![CDATA[Steven Leroux]]></dc:creator>
		<pubDate>Fri, 27 Oct 2023 06:15:04 +0000</pubDate>
				<category><![CDATA[Chat GPT]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTTP/2]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[PostreSQL]]></category>
		<guid isPermaLink="false">https://www.clever-cloud.com/?post_type=podcast&#038;p=10984</guid>

					<description><![CDATA[<p><img width="1920" height="1080" src="https://cdn.clever-cloud.com/uploads/2023/10/94.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="94" decoding="async" fetchpriority="high" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/qVVXsp90aAE">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p>Animé par Steven Leroux  : @GwinizDu</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>avec la participation de :</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>Lætita Avrot : l_avrot</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Matthieu Napoli : @matthieunapoli</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>David Le Grand : @davlgd</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Épisode enregistré le 13 octobre 2023 </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://www.clever.cloud/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Chapitrage et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:01:53 Deploy a custom ChatGPT, based on PHP<br><a href="https://www.clever.cloud/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/">https://www.clever.cloud/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:03:08 Actu PostgreSQL et Chihuahua Challenge <br><a href="https://youtu.be/kcgdS1g0Z-A?feature=shared
">https://youtu.be/kcgdS1g0Z-A?feature=shared<br></a>00:08:25 Extension full text search pour PostgreSQL<br><a href="https://docs.paradedb.com/blog/introducing_bm25">https://docs.paradedb.com/blog/introducing_bm25</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:09:56 Appel d’offre Oracle de l’éducation nationale… ou du “bon” usage de la souveraineté numérique. <a href="https://www.boamp.fr/pages/avis/?q=idweb:%2223-134796%22">https://www.boamp.fr/pages/avis/?q=idweb:%2223-134796%22</a><br>“Fourniture de licences Oracle ou équivalent et réalisation de prestations de services associées pour les services centraux et déconcentrés des ministères chargés de l'éducation nationale, de la jeunesse (MENJ) et de l'enseignement supérieur, de la recherche (MESR) et des sports et des jeux olympiques et paralympiques (MSJOP) ainsi que des établissements de formation et de recherche.”</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:14:43 retour sur HTTP/2 Rapid Reset Attack <br><a href="https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/">https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:21:57 Encrypted Client Hello dans Firefox<br><a href="https://blog.mozilla.org/en/products/firefox/encrypted-hello/">https://blog.mozilla.org/en/products/firefox/encrypted-hello/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:27:50 retour sur le Forum PHP</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>conf : l’immuabilité m’a sauvé !<br>conf : Bref.sh<br>conf : journalisme vs open source<br>conf PG index wars</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:44:15 La musique de fin : The sound of silence par Disturbed<br><a href="https://www.youtube.com/watch?v=u9Dg-g7t2l4">https://www.youtube.com/watch?v=u9Dg-g7t2l4</a></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="1920" height="1080" src="https://cdn.clever-cloud.com/uploads/2023/10/94.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="94" decoding="async" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/qVVXsp90aAE">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p>Animé par Steven Leroux  : @GwinizDu</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>avec la participation de :</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>Lætita Avrot : l_avrot</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Matthieu Napoli : @matthieunapoli</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>David Le Grand : @davlgd</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Épisode enregistré le 13 octobre 2023 </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://www.clever.cloud/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Chapitrage et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:01:53 Deploy a custom ChatGPT, based on PHP<br><a href="https://www.clever.cloud/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/">https://www.clever.cloud/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:03:08 Actu PostgreSQL et Chihuahua Challenge <br><a href="https://youtu.be/kcgdS1g0Z-A?feature=shared
">https://youtu.be/kcgdS1g0Z-A?feature=shared<br></a>00:08:25 Extension full text search pour PostgreSQL<br><a href="https://docs.paradedb.com/blog/introducing_bm25">https://docs.paradedb.com/blog/introducing_bm25</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:09:56 Appel d’offre Oracle de l’éducation nationale… ou du “bon” usage de la souveraineté numérique. <a href="https://www.boamp.fr/pages/avis/?q=idweb:%2223-134796%22">https://www.boamp.fr/pages/avis/?q=idweb:%2223-134796%22</a><br>“Fourniture de licences Oracle ou équivalent et réalisation de prestations de services associées pour les services centraux et déconcentrés des ministères chargés de l'éducation nationale, de la jeunesse (MENJ) et de l'enseignement supérieur, de la recherche (MESR) et des sports et des jeux olympiques et paralympiques (MSJOP) ainsi que des établissements de formation et de recherche.”</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:14:43 retour sur HTTP/2 Rapid Reset Attack <br><a href="https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/">https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:21:57 Encrypted Client Hello dans Firefox<br><a href="https://blog.mozilla.org/en/products/firefox/encrypted-hello/">https://blog.mozilla.org/en/products/firefox/encrypted-hello/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:27:50 retour sur le Forum PHP</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>conf : l’immuabilité m’a sauvé !<br>conf : Bref.sh<br>conf : journalisme vs open source<br>conf PG index wars</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:44:15 La musique de fin : The sound of silence par Disturbed<br><a href="https://www.youtube.com/watch?v=u9Dg-g7t2l4">https://www.youtube.com/watch?v=u9Dg-g7t2l4</a></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
					<wfw:commentRss>https://www.clever.cloud/podcast/loracle-souvre-et-lance-des-requetes-encryptees-pour-dejouer-les-ddos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>One Framework a Day keeps the Boredom Away: Docker</title>
		<link>https://www.clever.cloud/blog/features/2017/11/10/1fdba-docker/</link>
		
		<dc:creator><![CDATA[Laurent Doguin]]></dc:creator>
		<pubDate>Fri, 10 Nov 2017 17:15:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[1fdba]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[keycloak]]></category>
		<category><![CDATA[postgres]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2017/11/10/1fdba-docker/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="1fdba docker 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1.jpg 1400w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-300x116.jpg 300w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-1024x395.jpg 1024w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-768x296.jpg 768w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-1368x528.jpg 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Welcome to this new edition of <a href="/blog/features/2017/10/09/1fdba-step0/">One Framework a Day keeps the Boredom Away</a>. In this series I will show you how to deploy a particular framework on Clever Cloud every day until I want to go back to boredom. Today it&#39;s about <a href="https://docker.com/">Docker</a>.</p>
<span id="more-2917"></span>

<p>If you want to tag along, make sure you have git, a Clever Cloud account and that you have installed our CLI <a href="https://github.com/CleverCloud/clever-tools">Clever-Tools</a>.</p>
<h2 id="what-is-docker">What is Docker?</h2>
<blockquote>
Docker is a software technology providing containers, promoted by the company Docker, Inc.
</blockquote>

<p>I am assuming everone know what it is so I won&#39;t go in further explanations. That being said, if you are familiar with Clever Cloud, you may know we have a reputation of not being big fans of Docker. Yet you can deploy Docker containers on Clever Cloud and we were actually one of the first cloud to offer it.</p>
<p>We do like Docker but as a public cloud we have to isolate each containers in a VM for proper isolation. We have to have an absolute position when it comes to security. Anyway, please let us know in the comments if you want us to talk more about our position on Docker and containers. We plan to do a lot more on that side, we just need a bit more time to release it to the public :)</p>
<p>So why talking about Docker today? Well it turns out some of our users asked us if it was possible to deploy <a href="http://keycloak.org/">Keycloak</a> on Clever Cloud. So I looked into it. There are various way to deploy it. The first way I wanted to use was to deploy it as a Wildfly overlay using their <code>.war</code>.</p>
<p>But sadly it&#39;s not recommended in production. You have to use their full wildfly distribution. So I could either download the whole thing each time I start the application, or deploy the Docker container they offer and support in Production. Which is what I have chosen.</p>
<h2 id="setup">Setup</h2>
<p>Keycloak Docker images are all available on Github. And has you need to provide a Dockerfile in your source code for us to build, I copied the official one for the HA/PosgreSQL configuration. I would have gladly forked the repo but it contains all their images. Not very 12 factors compliant sadly :( Anyway my git repository looks like this:</p>
<pre><code class="language-bash">[ldoguin@caolila keycloakClever]$ ls
Dockerfile
</code></pre>
<p>and the Dockerfile like this:</p>
<pre><code class="language-dockerfile">FROM jboss/keycloak-postgres:3.4.0.Final

CMD [&quot;-b&quot;, &quot;0.0.0.0&quot;, &quot;--server-config&quot;, &quot;standalone-ha.xml&quot;]
</code></pre>
<p>We don&#39;t have anything specific to add to this Dockerfile. It&#39;s very well configured and easy to use. We now need to create the Clever Cloud application and its associated database then setup the right environmment variables:</p>
<ul>
<li>Create our application: <code>clever create --type docker --plan M Keycloak</code></li>
<li>Create our Postgres add-on: <code>clever addon create postgresql-addon --plan dev --region eu KeycloakPG</code></li>
<li>Link this website to our FS Bucket addon: <code>clever service link-addon KeycloakPG</code></li>
<li>Setup the following environment variables:</li>
</ul>
<pre><code class="language-bash">clever env set ENABLE_METRICS true
clever env set PROXY_ADDRESS_FORWARDING true
clever env set KEYCLOAK_PASSWORD admin
clever env set KEYCLOAK_USER admin
clever env set JAVA_OPTS &quot;-Djgroups.bind_addr=127.0.0.1&quot;
clever env set POSTGRES_DATABASE `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_DB/ { print $2}&#39;
clever env set POSTGRES_PASSWORD `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_PASSWORD/ { print $2}&#39;
clever env set POSTGRES_PORT_5432_TCP_ADDR `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_HOST/ { print $2}&#39;
clever env set POSTGRES_PORT_5432_TCP_PORT `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_PORT/ { print $2}&#39;
clever env set POSTGRES_USER `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_USER/ { print $2}&#39;
</code></pre>
<p>Before starting the build, we need to configure two options in the Console. Tick the <em>Enable dedicated build instance</em> box because the Keycloak build needs more memory. Also tick the <em>Sticky sessions</em> box because it is necessary if you need to scale horizontally. To do that you have to go on the WebConsole, in your application, in the Information tab and tick the previously mentioned checkboxs.</p>
<img src="https://www2.cleverapps.io/app/uploads/2021/08/DockerConfiguration.png">

<p>You should now be ready to deploy :)</p>
<h2 id="deploy">Deploy</h2>
<p>Deploying with Clever Cloud is the easiest part. Simply run <code>clever deploy</code> and see the logs unfold before your eyes. Go ahead and test it by running <code>clever open</code>. Make sure you are using <em>https</em> while browsing the site. The default login and password are the one you set in the environment variable.</p>
<p>Now everything should work smoothly. What if you need to scale out your application? Let&#39;s say you want to have 2 keycloak instances. This can be configured like this:<code>clever scale --instances 2</code></p>
<p>If you are unsure of the traffic you will get, you can configure a minimum and a maximum of instaces like this: <code>clever scale --min-instances 2 --max-instances 5</code></p>
]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="1fdba docker 1" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1.jpg 1400w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-300x116.jpg 300w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-1024x395.jpg 1024w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-768x296.jpg 768w, https://cdn.clever-cloud.com/uploads/2021/08/1fdba-docker-1-1368x528.jpg 1368w" sizes="auto, (max-width: 1400px) 100vw, 1400px" /></p><p>Welcome to this new edition of <a href="/blog/features/2017/10/09/1fdba-step0/">One Framework a Day keeps the Boredom Away</a>. In this series I will show you how to deploy a particular framework on Clever Cloud every day until I want to go back to boredom. Today it&#39;s about <a href="https://docker.com/">Docker</a>.</p>
<span id="more-2917"></span>

<p>If you want to tag along, make sure you have git, a Clever Cloud account and that you have installed our CLI <a href="https://github.com/CleverCloud/clever-tools">Clever-Tools</a>.</p>
<h2 id="what-is-docker">What is Docker?</h2>
<blockquote>
Docker is a software technology providing containers, promoted by the company Docker, Inc.
</blockquote>

<p>I am assuming everone know what it is so I won&#39;t go in further explanations. That being said, if you are familiar with Clever Cloud, you may know we have a reputation of not being big fans of Docker. Yet you can deploy Docker containers on Clever Cloud and we were actually one of the first cloud to offer it.</p>
<p>We do like Docker but as a public cloud we have to isolate each containers in a VM for proper isolation. We have to have an absolute position when it comes to security. Anyway, please let us know in the comments if you want us to talk more about our position on Docker and containers. We plan to do a lot more on that side, we just need a bit more time to release it to the public :)</p>
<p>So why talking about Docker today? Well it turns out some of our users asked us if it was possible to deploy <a href="http://keycloak.org/">Keycloak</a> on Clever Cloud. So I looked into it. There are various way to deploy it. The first way I wanted to use was to deploy it as a Wildfly overlay using their <code>.war</code>.</p>
<p>But sadly it&#39;s not recommended in production. You have to use their full wildfly distribution. So I could either download the whole thing each time I start the application, or deploy the Docker container they offer and support in Production. Which is what I have chosen.</p>
<h2 id="setup">Setup</h2>
<p>Keycloak Docker images are all available on Github. And has you need to provide a Dockerfile in your source code for us to build, I copied the official one for the HA/PosgreSQL configuration. I would have gladly forked the repo but it contains all their images. Not very 12 factors compliant sadly :( Anyway my git repository looks like this:</p>
<pre><code class="language-bash">[ldoguin@caolila keycloakClever]$ ls
Dockerfile
</code></pre>
<p>and the Dockerfile like this:</p>
<pre><code class="language-dockerfile">FROM jboss/keycloak-postgres:3.4.0.Final

CMD [&quot;-b&quot;, &quot;0.0.0.0&quot;, &quot;--server-config&quot;, &quot;standalone-ha.xml&quot;]
</code></pre>
<p>We don&#39;t have anything specific to add to this Dockerfile. It&#39;s very well configured and easy to use. We now need to create the Clever Cloud application and its associated database then setup the right environmment variables:</p>
<ul>
<li>Create our application: <code>clever create --type docker --plan M Keycloak</code></li>
<li>Create our Postgres add-on: <code>clever addon create postgresql-addon --plan dev --region eu KeycloakPG</code></li>
<li>Link this website to our FS Bucket addon: <code>clever service link-addon KeycloakPG</code></li>
<li>Setup the following environment variables:</li>
</ul>
<pre><code class="language-bash">clever env set ENABLE_METRICS true
clever env set PROXY_ADDRESS_FORWARDING true
clever env set KEYCLOAK_PASSWORD admin
clever env set KEYCLOAK_USER admin
clever env set JAVA_OPTS &quot;-Djgroups.bind_addr=127.0.0.1&quot;
clever env set POSTGRES_DATABASE `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_DB/ { print $2}&#39;
clever env set POSTGRES_PASSWORD `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_PASSWORD/ { print $2}&#39;
clever env set POSTGRES_PORT_5432_TCP_ADDR `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_HOST/ { print $2}&#39;
clever env set POSTGRES_PORT_5432_TCP_PORT `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_PORT/ { print $2}&#39;
clever env set POSTGRES_USER `clever env | awk  -F = &#39;/POSTGRESQL_ADDON_USER/ { print $2}&#39;
</code></pre>
<p>Before starting the build, we need to configure two options in the Console. Tick the <em>Enable dedicated build instance</em> box because the Keycloak build needs more memory. Also tick the <em>Sticky sessions</em> box because it is necessary if you need to scale horizontally. To do that you have to go on the WebConsole, in your application, in the Information tab and tick the previously mentioned checkboxs.</p>
<img src="https://www2.cleverapps.io/app/uploads/2021/08/DockerConfiguration.png">

<p>You should now be ready to deploy :)</p>
<h2 id="deploy">Deploy</h2>
<p>Deploying with Clever Cloud is the easiest part. Simply run <code>clever deploy</code> and see the logs unfold before your eyes. Go ahead and test it by running <code>clever open</code>. Make sure you are using <em>https</em> while browsing the site. The default login and password are the one you set in the environment variable.</p>
<p>Now everything should work smoothly. What if you need to scale out your application? Let&#39;s say you want to have 2 keycloak instances. This can be configured like this:<code>clever scale --instances 2</code></p>
<p>If you are unsure of the traffic you will get, you can configure a minimum and a maximum of instaces like this: <code>clever scale --min-instances 2 --max-instances 5</code></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
