split dotenv between what must be changed, and okay default variables
This commit is contained in:
@@ -6,7 +6,7 @@ It is composed of several services:
|
||||
* **[Inventaire](https://hub.docker.com/r/inventaire/inventaire)**: a Docker image packaging:
|
||||
* the Inventaire [server](https://github.com/inventaire/inventaire/)
|
||||
* the [client](https://github.com/inventaire/inventaire-client/)
|
||||
* the embeded database: LevelDB
|
||||
* the embedded database: LevelDB
|
||||
* **[CouchDB](https://hub.docker.com/_/couchdb)**: the primary database used by the Inventaire server
|
||||
* **[Elasticsearch](https://hub.docker.com/_/elasticsearch)**: a secondary database used by Inventaire for text and geographic search features
|
||||
* **[Nginx](https://hub.docker.com/_/nginx)**: a reverse proxy with TLS termination thank to Let's Encrypt [certbot](https://hub.docker.com/r/certbot/certbot).
|
||||
|
||||
24
dotenv
24
dotenv
@@ -1,21 +1,12 @@
|
||||
# Your website domain name
|
||||
PUBLIC_HOSTNAME=an-inventaire-site.org
|
||||
|
||||
# Root path within docker container
|
||||
PROJECT_ROOT=/opt/inventaire
|
||||
|
||||
# Generic user, to modify only for good reason
|
||||
COUCHDB_USER=couchdb
|
||||
# Consider passwords with no less than 32 charracters, for example:
|
||||
# cat /dev/urandom | tr -dc A-Za-z0-9-_ | head -c 32
|
||||
COUCHDB_PASSWORD=your_password
|
||||
|
||||
NODE_ENV=production
|
||||
NODE_APP_INSTANCE=federated
|
||||
|
||||
# Conventional port for Inventaire server in federated mode
|
||||
INVENTAIRE_PORT=3016
|
||||
|
||||
INSTANCE_NAME='My Inventaire Instance'
|
||||
|
||||
# Will be displayed on landing screen
|
||||
@@ -24,3 +15,18 @@ ORG_URL='https://inventaire.example.org'
|
||||
|
||||
# Users receiving emails from the instance can reply to this
|
||||
CONTACT_ADDRESS='contact@inventaire.example.org'
|
||||
|
||||
|
||||
########
|
||||
# Everything below is a default configuration
|
||||
# Modify if you know what you are doing
|
||||
########
|
||||
|
||||
# Root path within docker container
|
||||
PROJECT_ROOT=/opt/inventaire
|
||||
|
||||
NODE_ENV=production
|
||||
NODE_APP_INSTANCE=federated
|
||||
|
||||
# Conventional port for Inventaire server in federated mode
|
||||
INVENTAIRE_PORT=3016
|
||||
|
||||
Reference in New Issue
Block a user