Commit Graph

109 Commits

Author SHA1 Message Date
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
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
82d94e73da README.md: add hub.docker.com image link 2025-02-23 09:03:09 +01:00
jums
c14c486a35 package and document reverse proxy configuration 2025-02-23 08:59:58 +01:00
jums
75fa3ffa18 make docker-compose.yml production ready 2025-02-23 08:59:57 +01:00
jums
c3cc377149 README.md: update documentation 2025-02-23 08:40:05 +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
jums
51b7fbc6aa remove obsolete docker-compose.test.yml 2024-12-13 14:07:50 +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
2c13079669 + .github/FUNDING.yml 2024-07-17 18:21:13 +02:00
maxlath
ec11c04c17 rename default branch: master -> main 2023-11-30 15:57:16 +01:00
jums
171f7b02b8 move Dockerfile.inventaire in inventaire-service branch 2023-11-18 06:44:09 +01:00
maxlath
774d6bdfc2 run inventaire outside of docker 2023-06-19 14:56:58 +02:00
maxlath
0f189a7498 readme tips: change recommended way to start only couchdb and elasticsearch 2023-04-29 14:01:38 +02:00
maxlath
00532a5d57 readme: remove non-docker specific documentation 2023-04-29 13:53:20 +02:00
maxlath
cf92f56308 docker-compose.yml: update link to Elasticsearch doc 2023-04-28 14:05:52 +02:00
maxlath
8ba919d6d4 readme: reword intro to match actual purpose of this repository 2023-04-28 13:30:29 +02:00
maxlath
9b48c1be1e readme: add tip to run the server and client outside of docker 2023-04-28 13:19:54 +02:00
maxlath
d02d130738 readme: add git tip 2023-04-28 12:02:16 +02:00
maxlath
5c37c9d7a4 readme: document how to start working on the client 2023-04-28 11:58:55 +02:00
maxlath
a1220581ad readme: moving paragraph on rootless docker down
as it makes the install flow more complex, and should thus rather be later tweaking of the install
2023-04-28 11:41:08 +02:00
maxlath
ccb729a8c1 rename more config/local.js to end in .cjs 2023-04-28 11:38:30 +02:00
maxlath
6f8bafb030 readme: invite to make sure the CouchDB username and password in config/local.cjs match docker-compose.yml environment variables 2023-04-28 11:17:29 +02:00
jums
3e8a4feb1c expliciting that no wizard is creating the local config file for you 2023-04-27 14:49:16 +02:00
jums
2af766feca rename config/local.js to end in .cjs 2023-04-27 14:45:01 +02:00
jums
e0461e64a2 do not display couchdb logs 2022-02-12 17:54:05 +01:00