From e077f29cba4e152eb11c4821fe3dd6b5fa24b132 Mon Sep 17 00:00:00 2001 From: jums Date: Thu, 27 Feb 2025 09:56:05 +0100 Subject: [PATCH] make agnostic forge links --- README.md | 16 ++++++++-------- inventaire/Dockerfile.inventaire | 2 +- nginx/templates/default.conf.template | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 96a585d..fa528e1 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ The Inventaire Suite is a containerized, production-ready Inventaire system that It is composed of several services: * **[Inventaire](https://hub.docker.com/r/inventaire/inventaire)**: a Docker image packaging: - * the Inventaire [server](https://github.com/inventaire/inventaire/) - * the [client](https://github.com/inventaire/inventaire-client/) + * the Inventaire [server](https://git.inventaire.io/inventaire/) + * the [client](https://git.inventaire.io/inventaire-client/) * the embedded database: LevelDB * **[CouchDB](https://hub.docker.com/_/couchdb)**: the primary database used by the Inventaire server * **[Elasticsearch](https://hub.docker.com/_/elasticsearch)**: a secondary database used by Inventaire for text and geographic search features @@ -55,7 +55,7 @@ You need a DNS records that resolves to your machine's public IP address ### Download this repository ```sh -git clone https://github.com/inventaire/docker-inventaire.git +git clone https://git.inventaire.io/docker-inventaire.git cd docker-inventaire ``` @@ -67,10 +67,10 @@ cp dotenv .env vim .env ``` -Clone `inventaire` core application [server](https://github.com/inventaire/inventaire) +Clone `inventaire` core application [server](https://git.inventaire.io/inventaire) ```sh -git clone https://github.com/inventaire/inventaire.git +git clone https://git.inventaire.io/inventaire.git ``` Build @@ -79,7 +79,7 @@ Build docker-compose build ``` -Download Node dependencies and install the [client repository](https://github.com/inventaire/inventaire-client): +Download Node dependencies and install the [client repository](https://git.inventaire.io/inventaire-client): ```sh cd inventaire @@ -147,14 +147,14 @@ sudo vim /etc/letsencrypt/renewal/your-domain.com.conf ## Usage -Start CouchDB, Elasticsearch, and the Inventaire [server](https://github.com/inventaire/inventaire) in production mode +Start CouchDB, Elasticsearch, and the Inventaire [server](https://git.inventaire.io/inventaire) in production mode ```sh docker-compose up ``` ## Tips -General tips on how to run Inventaire can be found in the [server repository docs](https://github.com/inventaire/inventaire/tree/main/docs). Here after are some additional Docker-specific tips. +General tips on how to run Inventaire can be found in the [server repository docs](https://git.inventaire.io/inventaire/tree/main/docs). Here after are some additional Docker-specific tips. ### Fixtures diff --git a/inventaire/Dockerfile.inventaire b/inventaire/Dockerfile.inventaire index ca32c40..09156b1 100644 --- a/inventaire/Dockerfile.inventaire +++ b/inventaire/Dockerfile.inventaire @@ -19,7 +19,7 @@ RUN git clone http://github.com/inventaire/inventaire --depth 1 . \ && mkdir -p /opt/inventaire/client \ && npm ci --omit=dev \ && npm run build \ - && git clone https://github.com/inventaire/inventaire-client.git ./client --branch docker --depth 1 \ + && git clone https://git.inventaire.io/inventaire-client.git ./client --branch docker --depth 1 \ && mkdir -p /opt/inventaire/client/public/sitemaps WORKDIR /opt/inventaire/client diff --git a/nginx/templates/default.conf.template b/nginx/templates/default.conf.template index 99194cc..4c1daa5 100755 --- a/nginx/templates/default.conf.template +++ b/nginx/templates/default.conf.template @@ -52,7 +52,7 @@ server { # for locally hosted images # or /img/remote/300x1200/630022006?href=http%3A%2F%2Fescaped.url # for remote images, with 630022006 being the hash of the passed href - # generated by [hashCode](https://github.com/inventaire/inventaire/blob/35b1e63/server/lib/utils/base.js#L69-L80) + # generated by [hashCode](https://git.inventaire.io/inventaire/blob/35b1e63/server/lib/utils/base.js#L69-L80) # The hack: I couldn't make the proxy_store work: it never hits the cache, but # it does put the resized images in /tmp/nginx/resize, so using a try_files