mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Updated Docker Compose with Caddy (markdown)
@@ -1,10 +1,33 @@
|
||||
The following guides aims at a completly fresh install of Invoice Ninja with the [Caddy webserver](https://caddyserver.com/). The is no migration scenario covered.
|
||||
|
||||
⚠️ We especially provide and enforce a TLS setup here, as Caddy comes with automatic HTTPS. If you do not want this or have an already working setup with TLS then this setup might not be the right choice for you.
|
||||
|
||||
## Table of content
|
||||
|
||||
* Guide for [Invoice Ninja 4](#guide-for-invoice-ninja-4)
|
||||
* Guide for Invoice Ninja 5
|
||||
|
||||
ℹ️ Read the prerequisites section carefully as you need all of these information for a proper setup
|
||||
## Prerequisites
|
||||
|
||||
ℹ️ Read the [prerequisites section](https://github.com/invoiceninja/dockerfiles/wiki/prerequisites) carefully as you need all of these information for a proper setup.
|
||||
|
||||
Additionally you need to have proper [TLD (Top Level Domain)](https://en.wikipedia.org/wiki/Top-level_domain) on a server that is publicly reachable (with a public IP). This is necessary for Caddy to correctly obtain the TLS certificate.
|
||||
|
||||
⚠️ If you are missing either one of these additional prerequisites, then this setup does not work for you. Please check the [setup with nginx](https://github.com/invoiceninja/dockerfiles/wiki/docker-composee-with-nginx) instead.
|
||||
|
||||
## Guide for Invoice Ninja 4
|
||||
|
||||
## Guide for Invoice Ninja 5
|
||||
|
||||
**Create a new folder**
|
||||
|
||||
First we need an empty folder where our docker files for IN 5 will reside.
|
||||
|
||||
Command: `mkdir ~/invoiceninja5; cd ~/invoiceninja5`
|
||||
|
||||
**Clone this repository**
|
||||
|
||||
Now we need to clone this repository to get all the files necessary to corretctly configure and run IN 5 with Docker Compose.
|
||||
|
||||
Command: `git clone https://github.com/invoiceninja/dockerfiles.git .`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user