Files
docker-configs/linkwarden/data/archives/2/7_readability.json

1 line
3.2 KiB
JSON
Executable File

{"title":"","byline":"mrspartak","dir":null,"lang":null,"content":"<div id=\"readability-page-1\" class=\"page\"><div data-hpc=\"true\"><article><p dir=\"auto\"><h2 dir=\"auto\" tabindex=\"-1\">Fast deployment of Gotify Server with docker-compose</h2><a href=\"#fast-deployment-of-gotify-server-with-docker-compose\" aria-label=\"Permalink: Fast deployment of Gotify Server with docker-compose\" id=\"user-content-fast-deployment-of-gotify-server-with-docker-compose\"></a></p>\n<p dir=\"auto\">I wanted to make a config for Nginx + gotify with three commands to deploy</p>\n<p dir=\"auto\"><h2 dir=\"auto\" tabindex=\"-1\">Installation</h2><a href=\"#installation\" aria-label=\"Permalink: Installation\" id=\"user-content-installation\"></a></p>\n<ol dir=\"auto\" start=\"0\">\n<li>\n<p dir=\"auto\">Ensure you have Docker Engine installed on your server</p>\n</li>\n<li>\n<p dir=\"auto\">Clone this repo to your server</p>\n</li>\n</ol>\n<div><pre><code> git clone https://github.com/mrspartak/gotify-dc.git\n</code></pre></div>\n<ol dir=\"auto\" start=\"2\">\n<li>Copy and edit .env file</li>\n</ol>\n<div><pre><code> cd gotify-dc\n cp .env.example .env\n nano .env\n</code></pre></div>\n<div><pre><code>#write your domain name here pointed via DNS to your server IP address. You can use Cloudflare to have SSL encrypted connection\n#If you will use Cloudflare, ensure that you have Network&gt;Websockets enabled\nAPP_DOMAIN=push.example.com\n\n#Local ports that will be exposed by Gotify\nAPP_PORT=2080\nAPP_PORT_SSL=2083\n\n#Folder to store sqlite DB of gotify\nAPP_DB_PATH=/home/sites/gotify-dc/data\n\n#Your login and password\nAPP_USER_LOGIN=user\nAPP_USER_PASSWORD=password\n</code></pre></div>\n<ol dir=\"auto\" start=\"3\">\n<li>Run docker :)</li>\n</ol>\n\n<p dir=\"auto\">That's it. If you need SSL encryption, you can use Cloudflare or change Nginx config to listen and redirect to 443 port and of course, make certificates. If you need MySQL/Postgres to work, you need to modify docker-compose.yaml</p>\n</article></div></div>","textContent":"Fast deployment of Gotify Server with docker-compose\nI wanted to make a config for Nginx + gotify with three commands to deploy\nInstallation\n\n\nEnsure you have Docker Engine installed on your server\n\n\nClone this repo to your server\n\n\n git clone https://github.com/mrspartak/gotify-dc.git\n\n\nCopy and edit .env file\n\n cd gotify-dc\n cp .env.example .env\n nano .env\n\n#write your domain name here pointed via DNS to your server IP address. You can use Cloudflare to have SSL encrypted connection\n#If you will use Cloudflare, ensure that you have Network>Websockets enabled\nAPP_DOMAIN=push.example.com\n\n#Local ports that will be exposed by Gotify\nAPP_PORT=2080\nAPP_PORT_SSL=2083\n\n#Folder to store sqlite DB of gotify\nAPP_DB_PATH=/home/sites/gotify-dc/data\n\n#Your login and password\nAPP_USER_LOGIN=user\nAPP_USER_PASSWORD=password\n\n\nRun docker :)\n\n\nThat's it. If you need SSL encryption, you can use Cloudflare or change Nginx config to listen and redirect to 443 port and of course, make certificates. If you need MySQL/Postgres to work, you need to modify docker-compose.yaml\n","length":1073,"excerpt":"Fast deployment of Gotify Server with docker-compose","siteName":null}