mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-07 18:27:41 +02:00
deploy: e296bff3b1
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta name="generator" content="Docusaurus v3.9.2">
|
||||
<title data-rh="true">Self-host OpenSign™ with Docker on Linux/MacOS/Windows | OpenSign™</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://docs.opensignlabs.com/img/docusaurus-social-card.png"><meta data-rh="true" name="twitter:image" content="https://docs.opensignlabs.com/img/docusaurus-social-card.png"><meta data-rh="true" property="og:url" content="https://docs.opensignlabs.com/docs/self-host/docker/run-locally"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Self-host OpenSign™ with Docker on Linux/MacOS/Windows | OpenSign™"><meta data-rh="true" name="description" content="Steps to run OpenSign™ with docker on Linux/MacOS/Windows:"><meta data-rh="true" property="og:description" content="Steps to run OpenSign™ with docker on Linux/MacOS/Windows:"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://docs.opensignlabs.com/docs/self-host/docker/run-locally"><link data-rh="true" rel="alternate" href="https://docs.opensignlabs.com/docs/self-host/docker/run-locally" hreflang="en"><link data-rh="true" rel="alternate" href="https://docs.opensignlabs.com/docs/self-host/docker/run-locally" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Docker","item":"https://docs.opensignlabs.com/docs/category/docker"},{"@type":"ListItem","position":2,"name":"Self-host OpenSign™ with Docker on Linux/MacOS/Windows","item":"https://docs.opensignlabs.com/docs/self-host/docker/run-locally"}]}</script><link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="OpenSign™ RSS Feed">
|
||||
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="OpenSign™ Atom Feed"><link rel="stylesheet" href="/assets/css/styles.03fa8acf.css">
|
||||
<script src="/assets/js/runtime~main.5671ea78.js" defer="defer"></script>
|
||||
<script src="/assets/js/runtime~main.fe785b83.js" defer="defer"></script>
|
||||
<script src="/assets/js/main.d7d946fe.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -21,18 +21,18 @@
|
||||
<p>Make sure Docker is running in the background before proceeding.</p>
|
||||
<p><strong>Warning:</strong> The commands below should only be used when installing OpenSign for the first time. You may loose your settings as this will overwrite .env & caddy files.</p>
|
||||
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="running-on-a-custom-domain">Running on a custom domain<a href="#running-on-a-custom-domain" class="hash-link" aria-label="Direct link to Running on a custom domain" title="Direct link to Running on a custom domain" translate="no"></a></h3>
|
||||
<p>Point a subdomain to the server where you will be executing these commands by adding the correct A record to your DNS settings.</p>
|
||||
<p>Copy the command below, paste it into the terminal, and press Enter to pull and start the containers automatically.</p>
|
||||
<p>Make sure to replace the host URL with your subdomain where OpenSign will be accessible.</p>
|
||||
<blockquote>
|
||||
<p>⚠️ <strong>WARNING:</strong> MAKE SURE THAT PORT <strong>27017</strong> IS NOT EXPOSED TO THE INTERNET, AS THE DEFAULT CONFIGURATION DOES NOT ENABLE MONGODB AUTHENTICATION.</p>
|
||||
</blockquote>
|
||||
<p>Command for linux/MacOS</p>
|
||||
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">export HOST_URL=https://opensign.yourdomain.com && curl --remote-name-all https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/docker-compose.yml https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/Caddyfile https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/.env.local_dev && mv .env.local_dev .env.prod && docker compose up --force-recreate</span><br></span></code></pre></div></div>
|
||||
<p>Command for Windows (<strong>Powershell</strong>)</p>
|
||||
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">$env:HOST_URL="https://opensign.yourdomain.com"; Invoke-WebRequest -Uri https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/docker-compose.yml -OutFile docker-compose.yml; Invoke-WebRequest -Uri https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/Caddyfile -OutFile Caddyfile; Invoke-WebRequest -Uri https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/.env.local_dev -OutFile .env.local_dev; Rename-Item -Path .env.local_dev -NewName .env.prod; docker compose up --force-recreate</span><br></span></code></pre></div></div>
|
||||
<p>Command for Windows (<strong>CMD/Terminal</strong>)</p>
|
||||
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">set HOST_URL=https://opensign.yourdomain.com && curl -O https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/docker-compose.yml && curl -O https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/Caddyfile && curl -O https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/.env.local_dev && rename .env.local_dev .env.prod && docker compose up --force-recreate</span><br></span></code></pre></div></div>
|
||||
<p>Copy the command above, paste it into the terminal, and press Enter to pull and start the containers automatically.</p>
|
||||
<p>Make sure to replace the host URL with your subdomain where OpenSign will be accessible.</p>
|
||||
<p>You will also need to point the subdomain to the server executing these commands by adding the correct A record to your DNS settings.</p>
|
||||
<blockquote>
|
||||
<p>⚠️ <strong>WARNING:</strong> MAKE SURE THAT PORT <strong>27017</strong> IS NOT EXPOSED TO THE INTERNET, AS THE DEFAULT CONFIGURATION DOES NOT ENABLE MONGODB AUTHENTICATION.</p>
|
||||
</blockquote>
|
||||
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="running-locally">Running locally<a href="#running-locally" class="hash-link" aria-label="Direct link to Running locally" title="Direct link to Running locally" translate="no"></a></h3>
|
||||
<p>If instead want to run locally try out below commands.</p>
|
||||
<p>Command for linux/MacOS (localhost)</p>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta name="generator" content="Docusaurus v3.9.2">
|
||||
<title data-rh="true">OpenSign™ Self-Hosted 'Upgrade Deployment' Guide Using Docker on Linux, macOS, or Windows | OpenSign™</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://docs.opensignlabs.com/img/docusaurus-social-card.png"><meta data-rh="true" name="twitter:image" content="https://docs.opensignlabs.com/img/docusaurus-social-card.png"><meta data-rh="true" property="og:url" content="https://docs.opensignlabs.com/docs/self-host/docker/upgrade-deployment"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="OpenSign™ Self-Hosted 'Upgrade Deployment' Guide Using Docker on Linux, macOS, or Windows | OpenSign™"><meta data-rh="true" name="description" content="This guide provides step-by-step instructions to upgrade the deployment of OpenSign using Docker."><meta data-rh="true" property="og:description" content="This guide provides step-by-step instructions to upgrade the deployment of OpenSign using Docker."><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://docs.opensignlabs.com/docs/self-host/docker/upgrade-deployment"><link data-rh="true" rel="alternate" href="https://docs.opensignlabs.com/docs/self-host/docker/upgrade-deployment" hreflang="en"><link data-rh="true" rel="alternate" href="https://docs.opensignlabs.com/docs/self-host/docker/upgrade-deployment" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Docker","item":"https://docs.opensignlabs.com/docs/category/docker"},{"@type":"ListItem","position":2,"name":"OpenSign™ Self-Hosted 'Upgrade Deployment' Guide Using Docker on Linux, macOS, or Windows","item":"https://docs.opensignlabs.com/docs/self-host/docker/upgrade-deployment"}]}</script><link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="OpenSign™ RSS Feed">
|
||||
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="OpenSign™ Atom Feed"><link rel="stylesheet" href="/assets/css/styles.03fa8acf.css">
|
||||
<script src="/assets/js/runtime~main.5671ea78.js" defer="defer"></script>
|
||||
<script src="/assets/js/runtime~main.fe785b83.js" defer="defer"></script>
|
||||
<script src="/assets/js/main.d7d946fe.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
Reference in New Issue
Block a user