Commit Graph

13 Commits

Author SHA1 Message Date
maxlath
513ec266d3 inventaire: docker-entrypoint: fix leveldb directory path
The actual leveldb directory was /opt/inventaire_leveldb-prod instead of /opt/inventaire_leveldb

Made possible by the `suffixDirectoryPathWithDbSuffix` config parameter introduced by https://codeberg.org/inventaire/inventaire/commit/7447c00

Addressing https://codeberg.org/inventaire/docker-inventaire/issues/14
2025-06-03 16:07:16 +02:00
maxlath
eee0f61260 inventaire: update naming
following https://codeberg.org/inventaire/inventaire/commit/91a4dfa7d
2025-05-31 17:46:11 +02:00
maxlath
f7e376ca06 docker-compose.yml: add volumes to preserve local images, cache data, and eventual backups
This commit relies on the possibility to customize the LevelDB directory
introduced in https://github.com/inventaire/inventaire/commit/4fb86f6
2025-04-17 15:09:14 +02:00
maxlath
e1d8be754f inventaire: build image from a specific git ref 2025-03-02 23:49:10 +01:00
maxlath
0d17fb551d inventaire: add map tiles, analytics, and media storage configuration 2025-02-28 11:42:48 +01:00
maxlath
8f14a6eea1 inventaire: local config: document config overwrites 2025-02-28 11:42:48 +01:00
maxlath
4d61613826 inventaire: local config: fix hostname
inventaire being the server hostname within the docker container
2025-02-28 11:42:48 +01:00
maxlath
4cffed239d inventaire container: move docker-entrypoint.sh outside of /opt/inventaire
to avoid undesired interactions with the shared inventaire-server volume
2025-02-28 11:42:48 +01:00
maxlath
f2ddb13bc7 inventaire: allow to customize the mailer config 2025-02-28 11:42:48 +01:00
maxlath
10e33f919e inventaire: docker-entrypoint.sh: adapt the edited local config file to the used NODE_ENV
Everything is this docker-compose.yml is done with NODE_ENV=production in mind, but if someone wants to play with other environments,
that should now work too
2025-02-28 11:42:48 +01:00
jums
9df0d0ebd5 docker-entrypoint: overwrite ./config/local-production.cjs to let the user free of overwriting those variables in local.cjs (aka the autority file) 2025-02-28 11:42:48 +01:00
jums
e077f29cba make agnostic forge links 2025-02-28 11:42:48 +01:00
maxlath
80b8985198 inventaire service: use a custom entrypoint script
to initialize the local config from env variables
2025-02-28 11:42:48 +01:00