From 2bd2cbade7f41f845f506d5e7cfb0b1abec23716 Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Thu, 16 Oct 2025 18:42:29 +0200 Subject: [PATCH] Rename service name from `carculator` to `swiss-ecargo` because this is a special version of `carculator` and we want to reserve the `carculator` name for later. --- conf.d/{carculator.conf => swiss-ecargo.conf} | 6 +++--- docker-compose.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename conf.d/{carculator.conf => swiss-ecargo.conf} (70%) diff --git a/conf.d/carculator.conf b/conf.d/swiss-ecargo.conf similarity index 70% rename from conf.d/carculator.conf rename to conf.d/swiss-ecargo.conf index 767515e..0f7f127 100644 --- a/conf.d/carculator.conf +++ b/conf.d/swiss-ecargo.conf @@ -1,16 +1,16 @@ server { listen 80; - server_name carculator-api-test.psi.ch; + server_name swiss-ecargo-api-test.psi.ch; return 301 https://$host$request_uri; } server { listen 443 ssl; - server_name carculator-api-test.psi.ch; + server_name swiss-ecargo-api-test.psi.ch; location / { - proxy_pass http://carculator:8000; + proxy_pass http://swiss-ecargo:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/docker-compose.yaml b/docker-compose.yaml index 6388cf0..cd61395 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -60,9 +60,9 @@ services: # Romain Sacchi # Software host and access to the Internet - carculator: - image: gitea.psi.ch/sacchi_r/carculator:0.1.0 - container_name: carculator + swiss-ecargo: + image: gitea.psi.ch/sacchi_r/swiss-ecargo:0.1.0 + container_name: swiss-ecargo restart: always networks: - backend