compose: add defaults for required CouchDB and Inventaire env vars
Made-with: Cursor
This commit is contained in:
@@ -2,6 +2,8 @@ services:
|
||||
inventaire:
|
||||
image: inventaire/inventaire:latest
|
||||
env_file: .env
|
||||
environment:
|
||||
- 'INVENTAIRE_PORT=${INVENTAIRE_PORT:-3016}'
|
||||
# You may also build image from sources with:
|
||||
# build:
|
||||
# context: ./inventaire
|
||||
@@ -26,6 +28,8 @@ services:
|
||||
dockerfile: Dockerfile.couchdb
|
||||
env_file: .env
|
||||
environment:
|
||||
- 'COUCHDB_USER=${COUCHDB_USER:-couchdb}'
|
||||
- 'COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-change_this_password_now}'
|
||||
# See https://docs.couchdb.org/en/stable/maintenance/performance.html#disk-and-file-system-performance
|
||||
- 'ERL_FLAGS=+A 4'
|
||||
# Uncomment ports to get access to the db
|
||||
|
||||
Reference in New Issue
Block a user