<p>This guide is opinionated. If you use other conventions or folder layouts, feel free to change the commands and paths.</p>
<p>This guide is opinionated. If you use other conventions or folder layouts, feel free to change the commands and paths.</p>
</div>
</div>
<p>We're using <ahref="https://caddyserver.com/">Caddy</a> here as reserve proxy to serve <code>wg-easy</code> on <ahref="https://wg-easy.example.com">https://wg-easy.example.com</a> via TLS.</p>
<p>We're using <ahref="https://caddyserver.com/">Caddy</a> here as reverse proxy to serve <code>wg-easy</code> on <ahref="https://wg-easy.example.com">https://wg-easy.example.com</a> via TLS.</p>
<h2id="create-a-docker-composition-for-caddy"><aclass="toclink"href="#create-a-docker-composition-for-caddy">Create a docker composition for <code>caddy</code></a></h2>
<h2id="create-a-docker-composition-for-caddy"><aclass="toclink"href="#create-a-docker-composition-for-caddy">Create a docker composition for <code>caddy</code></a></h2>
<p>You can no access the Traefik dashboard at <code>https://traefik.$example.com$</code> with the credentials you set in <code>traefik_dynamic.yml</code>.</p>
<p>You can now access the Traefik dashboard at <code>https://traefik.$example.com$</code> with the credentials you set in <code>traefik_dynamic.yml</code>.</p>
<h2id="add-labels-to-wg-easy"><aclass="toclink"href="#add-labels-to-wg-easy">Add Labels to <code>wg-easy</code></a></h2>
<h2id="add-labels-to-wg-easy"><aclass="toclink"href="#add-labels-to-wg-easy">Add Labels to <code>wg-easy</code></a></h2>
<p>To add labels to your <code>wg-easy</code> service, you can add the following to your <code>docker-compose.yml</code> file:</p>
<p>To add labels to your <code>wg-easy</code> service, you can add the following to your <code>docker-compose.yml</code> file:</p>