negodiy
8b7d789b27
compose: expose inventaire internal port for Traefik routing
...
Made-with: Cursor
2026-03-16 10:48:28 +00:00
negodiy
35908d602c
compose: provide defaults for required inventaire env vars
...
Made-with: Cursor
2026-03-16 09:59:27 +00:00
negodiy
47c43f07f7
compose: add defaults for required CouchDB and Inventaire env vars
...
Made-with: Cursor
2026-03-16 09:46:37 +00:00
negodiy
e548f5e349
nginx: отключить порты 80/443 для деплоя через Coolify
...
Made-with: Cursor
2026-03-16 09:06:31 +00:00
maxlath
0e31506126
replace shared volume between the inventaire and nginx services by a multi-stage copy
...
See https://docs.docker.com/build/building/multi-stage/#use-an-external-image-as-a-stage
The shared volume was making updates complicated, as the persisted volume data would not be overriden by the new container
2025-06-29 19:19:03 +02:00
maxlath
61d466f7a2
nginx: fix inconsistencies in certbox public file directory
...
Some where referring to /var/www/html, some to /var/www/certbot: now everything should be in /var/www/html,
that should fix certificate renewal
2025-05-31 16:50:14 +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
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
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
095293b0a5
nginx: recover access to the inventaire files and API
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
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
jums
3845f4eddb
docker-compose: propose alternatives to admins who want to tweak some code
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
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
jums
a6568e9980
docker-compose: document ports in comment to ease admin access to the db
2025-02-26 11:00:30 +01:00
jums
ba42f2e009
package reverse proxy in docker-compose
2025-02-25 21:11:43 +01:00
jums
75fa3ffa18
make docker-compose.yml production ready
2025-02-23 08:59:57 +01:00
jums
a9e68d9bba
add named volumes to couchdb and elasticsearch
...
deleted by 71c1cc2 , but docker still needs those volumes to save its
service data somewhere on the host, otherwise it will recreate dbs at
every container restart
2024-12-25 10:32:21 +01:00
maxlath
71c1cc2a8a
docker-compose.yml: let couchdb use a named volume to store its data
...
See https://serverfault.com/questions/996785/docker-volumes-vs-mount-binds-what-are-the-use-cases
2024-12-03 12:33:22 +01:00
maxlath
298b7d1178
docker-compose.yml: remove network_mode=host
2024-12-03 12:06:57 +01:00
maxlath
82367ddc15
couchdb: upgrade to v3.4.2
2024-11-21 22:30:27 +01:00
maxlath
d43ae912d3
couchdb: add custom configuration
2024-11-21 22:30:26 +01:00
maxlath
268b6e07b4
re-enable couchdb and elasticsearch logs
2024-11-21 22:30:00 +01:00
maxlath
8c296c0401
move couchdb and elasticsearch volumes data in a dedicated folder
2024-07-17 18:21:26 +02:00
maxlath
774d6bdfc2
run inventaire outside of docker
2023-06-19 14:56:58 +02:00
maxlath
cf92f56308
docker-compose.yml: update link to Elasticsearch doc
2023-04-28 14:05:52 +02:00
jums
e0461e64a2
do not display couchdb logs
2022-02-12 17:54:05 +01:00
jums
ad8a41f265
cap logs size to 10Mo
2022-02-12 17:53:33 +01:00
maxlath
a4402e19a4
docker-compose: elasticsearch: reduce JVM heap
...
see https://github.com/inventaire/inventaire-deploy/commit/c2a9365
2022-02-12 17:50:11 +01:00
maxlath
7509d774bf
docker-compose: update couchdb and elasticsearch versions
2022-01-13 20:31:59 +01:00
maxlath
60778f147b
update elasticsearch
2021-12-14 23:13:27 +01:00
maxlath
1b7b6cafe2
docker-compose.yml: fix couchdb volume path
2021-08-25 16:39:03 +02:00
maxlath
88f9c7dd00
docker-compose.yml: update couchdb version
2021-08-25 16:34:37 +02:00
maxlath
f63fcbdedd
docker-compose.yml: align default credentials with inventaire server default config
2021-08-25 16:34:37 +02:00
maxlath
60abccaf8b
docker-compose: rename couch to couchdb for consistency
2021-08-25 16:16:41 +02:00
maxlath
dd4841e971
docker-compose: update elasticsearch
...
to align with current prod
2021-08-25 16:16:41 +02:00
jums
b0a0e6002e
move db volumes to local docker storage
...
to simplify deployement process
2021-02-08 12:53:04 +01:00
jums
1fdeda42e6
upgrade couchdb to 3.1
2021-02-07 16:23:59 +01:00
maxlath
c33bad2b4b
upgrade elasticsearch to 7.9.1
2021-02-07 16:23:59 +01:00
jums
f486a31154
remove entities-search-engine
2021-02-07 16:23:57 +01:00
jums
06ccd97dd8
post decaffeinate compose
2019-11-28 17:06:41 +01:00
Vincent Jumo
c56fc67920
more colorful and quieter prompt
2019-04-15 17:19:30 +02:00
Vincent Jumo
297293bea8
expose brunch port to support client watch server
2019-01-16 13:00:00 +01:00
Vincent Jumo
4ac8128eb7
use host network mode to use current config hosts
2018-10-16 13:21:54 +02:00
Vincent Jumo
b3e466b380
setup entities-search-engine
...
-use of Dockerfile versus run from docker-compose.yml, because
docker alone can build services. move dockerfiles to root folder of
each repos?
-cleanup dockerfile.inventaire setup
2018-10-16 13:21:41 +02:00