jums
42ff34d0f0
add .github/README
2025-05-16 17:13:27 +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
f9419539ba
docker-compose.yml: couchdb: increase Erlang I/O threads
2025-03-05 16:24:05 +01:00
maxlath
e2ef349a1d
couchdb config: increase session timeout
2025-03-04 13:22:34 +01:00
maxlath
7bb3759cfa
readme: add section on updates
2025-03-03 01:35:41 +01:00
maxlath
e1d8be754f
inventaire: build image from a specific git ref
2025-03-02 23:49:10 +01:00
maxlath
6b6c055411
couchdb: local.ini: set require_valid_user = true
2025-02-28 22:06:18 +01:00
maxlath
caa74f977d
Merge pull request #12 from inventaire/package-prod
2025-02-28 11:43:18 +01:00
jums
ab286b4968
Dockerfile.nginx: only generate pem key if the file does not exist
2025-02-28 11:42:48 +01:00
jums
a3b10d2674
gitignore: add certbot folder
...
to untrack the autogenerated certbot config folder, created when running certonly
2025-02-28 11:42:48 +01:00
maxlath
5109271529
nginx: fix /tmp/nginx permission issues
2025-02-28 11:42:48 +01:00
maxlath
f91ad3c8a3
nginx: fix proxy_store
2025-02-28 11:42:48 +01:00
maxlath
0d17fb551d
inventaire: add map tiles, analytics, and media storage configuration
2025-02-28 11:42:48 +01:00
maxlath
b4d42a83e5
nginx: recover location @invimg
2025-02-28 11:42:48 +01:00
maxlath
f128298778
nginx: recover catch all (aka client router) location
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
19383ebc29
nginx: removing obsolete comment
...
relative to aliases http://nginx.org/en/docs/http/ngx_http_core_module.html#alias
which aren't used in this config
2025-02-28 11:42:48 +01:00
maxlath
e5a71bd9ea
docker-compose.yml: elasticsearch: add some more options
...
inspired by https://github.com/elastic/elasticsearch/issues/85463#issuecomment-2299705984
2025-02-28 11:42:48 +01:00
maxlath
8479151e63
docker-compose.yml: elasticsearch: reduce default RAM use
2025-02-28 11:42:48 +01:00
maxlath
238f2c51d0
nginx: use http2 directive
...
following the deprecation warning in the logs
See http://nginx.org/en/docs/http/ngx_http_v2_module.html
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
f30a03a304
docker-compose.yml: share inventaire files with nginx through a named volume
...
as using a host path seems to result in that path being empty o_O
Possibly has to do with https://forums.docker.com/t/docker-volume-deleting-content-from-container-when-started/28168
2025-02-28 11:42:48 +01:00
maxlath
abbfa8216d
nginx template: rename the upstream to avoid confusions with the container name
2025-02-28 11:42:48 +01:00
maxlath
095293b0a5
nginx: recover access to the inventaire files and API
2025-02-28 11:42:48 +01:00
maxlath
5e408aad2b
nginx: disable compression to mitigate BREACH exploit
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
b4b0ddab6f
nginx: fix ssl_certificate* paths
2025-02-28 11:42:48 +01:00
maxlath
02454e39cf
nginx Dockerfile: generate dhparam.pem
2025-02-28 11:42:48 +01:00
maxlath
a224610d28
docker-compose.yml: add warning on port binding in prod
2025-02-28 11:42:48 +01:00
maxlath
1450ac5888
readme: udpate docker compose commands to v2 syntax
...
See https://docs.docker.com/compose/releases/migrate/
2025-02-28 11:42:48 +01:00
maxlath
edfcc2494a
+ scripts/docker_publish.sh
2025-02-28 11:42:48 +01:00
maxlath
06979f1a46
gitignore: add .docker
...
to be able to use per-directory docker config
See https://stackoverflow.com/a/51610644
2025-02-28 11:42:48 +01:00
maxlath
353d8b381d
readme: further rework
2025-02-28 11:42:48 +01:00
maxlath
fd2fce9147
docker-compose: remove tty=true
...
as it seems unnecessary for our use-case
See https://docs.docker.com/reference/compose-file/services/#tty
and https://docs.docker.com/reference/cli/docker/container/run/#tty
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
fa0b91eef1
README: replace nginx obsolete documentation since packaged in compose
2025-02-28 11:42:48 +01:00
jums
3845f4eddb
docker-compose: propose alternatives to admins who want to tweak some code
2025-02-28 11:42:48 +01:00
jums
34db3704a4
update gitignore
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
jums
93d7955d99
split dotenv between what must be changed, and okay default variables
2025-02-28 11:42:48 +01:00
jums
d3467f1945
improve README
2025-02-28 11:42:48 +01:00
maxlath
376da92bd3
elasticsearch: update version
2025-02-28 11:42:48 +01:00
maxlath
81181578fc
couchdb: set single_node=true
...
to remove the need to check if the _users database was created
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
maxlath
1b94320cb2
readme: wip
2025-02-28 11:42:48 +01:00
maxlath
69db3e1a86
docker-compose.yml: use a pre-build inventaire image and env_file=.env
...
and customize CouchDB entrypoint script to fix the issue of the missing _users database
2025-02-28 11:42:48 +01:00
maxlath
9187c32c00
Dockerfile.inventaire: use the built server
...
instead of JIT tsx compilation
2025-02-27 11:24:04 +01:00
maxlath
0dd617d3a6
Dockerfile.inventaire: install dependencies and build client
2025-02-27 11:24:04 +01:00