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
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