Sfoglia il codice sorgente

0820: Run InvoiceNinja - Invoice and Payment Manager - in Docker

i12bretro 1 anno fa
parent
commit
bcf4fbc03e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      0820.html

+ 2 - 2
0820.html

@@ -8,7 +8,7 @@
         <meta name="author" content="i12bretro">
         <meta name="description" content="Run InvoiceNinja - Invoice and Payment Manager - in Docker">
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
-        <meta name="revised" content="02/15/2023 07:39:32 AM" />
+        <meta name="revised" content="05/24/2024 01:23:25 PM" />
 				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
 				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
 				        <script type="text/javascript" src="includes/js/steps.js"></script>
@@ -71,7 +71,7 @@
 	# update the APP_KEY variable with the key generated earlier<br />
 	docker run -d --name=invoiceninja --link mariadb -p 8080:80 -v ~/docker/invoiceninja/public:/var/www/app/public -v ~/docker/invoiceninja/storage:/var/www/app/storage -e IN_USER_EMAIL=&#39;i12bretro@i12bretro.local&#39; -e IN_PASSWORD=&#39;SomethingSecure!&#39; -e REQUIRE_HTTPS=false -e APP_ENV=&#39;production&#39; -e APP_DEBUG=0 -e APP_URL=&#39;http://ubuntuserver.local:8080&#39; -e APP_KEY=&#39;&lt;%key generated earlier%&gt;&#39; -e APP_CIPHER=&#39;AES-256-CBC&#39; -e DB_TYPE=&#39;mysql&#39; -e DB_STRICT=&#39;false&#39; -e DB_HOST=&#39;mariadb&#39; -e DB_DATABASE=&#39;invoiceninja&#39; -e DB_USERNAME=&#39;invoiceninja_rw&#39; -e DB_PASSWORD=&#39;!nv0ic3Ninj@!&#39; --restart=unless-stopped invoiceninja/invoiceninja<br />
 	# run the nginx container<br />
-	docker run --name nginx --link invoiceninja -p 8081:80 -v ~/docker/invoiceninja/public:/var/www/app/public:ro -v ~/docker/nginx:/etc/nginx/conf.d:ro -d nginx</div>
+	docker run -d --name nginx --link invoiceninja -p 8081:80 -v ~/docker/invoiceninja/public:/var/www/app/public:ro -v ~/docker/nginx:/etc/nginx/conf.d:ro --restart=unless-stopped nginx</div>
 	</li>
 	<li>Open a web browser and navigate to http://DNSorIP:8081</li>
 	<li>Login with the Email and Password setup in the InvoiceNinja container variables &gt; Click Login with email</li>