inventaire: update naming
following https://codeberg.org/inventaire/inventaire/commit/91a4dfa7d
This commit is contained in:
@@ -16,8 +16,8 @@ WORKDIR /opt/inventaire
|
|||||||
ARG GIT_REF=main
|
ARG GIT_REF=main
|
||||||
ENV DOCKER=1
|
ENV DOCKER=1
|
||||||
|
|
||||||
# - Create the client folder to prevent the server postinstall to run `npm run install-client` as it does it with the wrong workdir and env
|
# - Create the client directory to prevent the server postinstall to run `npm run install-client` as it does it with the wrong workdir and env
|
||||||
# - Create the public/sitemaps folder to prevent the client postinstall to run `npm run generate-sitemaps` (which needs to be updated to support non-inventaire.io instances)
|
# - Create the public/sitemaps directory to prevent the client postinstall to run `npm run generate-sitemaps` (which needs to be updated to support non-inventaire.io instances)
|
||||||
RUN git clone https://git.inventaire.io/inventaire --depth 1 --branch "${GIT_REF}" . \
|
RUN git clone https://git.inventaire.io/inventaire --depth 1 --branch "${GIT_REF}" . \
|
||||||
&& mkdir -p /opt/inventaire/client \
|
&& mkdir -p /opt/inventaire/client \
|
||||||
&& npm ci --omit=dev \
|
&& npm ci --omit=dev \
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ module.exports = {
|
|||||||
username: '${COUCHDB_USER}',
|
username: '${COUCHDB_USER}',
|
||||||
password: '${COUCHDB_PASSWORD}',
|
password: '${COUCHDB_PASSWORD}',
|
||||||
hostname: 'couchdb',
|
hostname: 'couchdb',
|
||||||
backupFolder: '/opt/inventaire_backups',
|
backupDirectory: '/opt/inventaire_backups',
|
||||||
},
|
},
|
||||||
leveldb: {
|
leveldb: {
|
||||||
folder: '/opt/inventaire_leveldb'
|
directory: '/opt/inventaire_leveldb'
|
||||||
},
|
},
|
||||||
elasticsearch: {
|
elasticsearch: {
|
||||||
origin: 'http://elasticsearch:9200',
|
origin: 'http://elasticsearch:9200',
|
||||||
@@ -58,7 +58,7 @@ module.exports = {
|
|||||||
region: '${SWIFT_REGION}',
|
region: '${SWIFT_REGION}',
|
||||||
},
|
},
|
||||||
local: {
|
local: {
|
||||||
folder: '/opt/inventaire_local_media_storage'
|
directory: '/opt/inventaire_local_media_storage'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user