From f82b4b16c1b4cec5af1c9792cfb037f9a554bdfe Mon Sep 17 00:00:00 2001 From: Daniel Lorigan Date: Fri, 29 Mar 2024 15:09:28 -0700 Subject: [PATCH] Rename containers and package shl-ltt --- docker-compose.dev.yaml | 2 +- docker-compose.static-ingress.yaml | 2 +- docker-compose.traefik-ingress.yaml | 10 +++++----- docker-compose.yaml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- svelte.config.js | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index ad45876..0f3643b 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -1,7 +1,7 @@ version: "3.4" services: - shlips: + shl-ltt: command: npm run dev volumes: - ./src:/opt/app/src diff --git a/docker-compose.static-ingress.yaml b/docker-compose.static-ingress.yaml index f4dea38..de4f7a9 100644 --- a/docker-compose.static-ingress.yaml +++ b/docker-compose.static-ingress.yaml @@ -3,7 +3,7 @@ --- version: "3.9" services: - shlips: + shl-ltt: # Allow override of published port ports: - "127.0.0.1:${EXTERNAL_PORT:-3000}:3000" \ No newline at end of file diff --git a/docker-compose.traefik-ingress.yaml b/docker-compose.traefik-ingress.yaml index ed76025..40218af 100644 --- a/docker-compose.traefik-ingress.yaml +++ b/docker-compose.traefik-ingress.yaml @@ -2,15 +2,15 @@ --- version: "3.9" services: - shlips: + shl-ltt: labels: - traefik.enable=true # Traefik will route requests with Host matching the SERVER_NAME environment variable (see .env) - - traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.rule=Host(`${SERVER_NAME}`) + - traefik.http.routers.shl-ltt-${COMPOSE_PROJECT_NAME}.rule=Host(`shl-ltt.${SERVER_NAME}`) - - traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.entrypoints=websecure - - traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.tls=true - - traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt + - traefik.http.routers.shl-ltt-${COMPOSE_PROJECT_NAME}.entrypoints=websecure + - traefik.http.routers.shl-ltt-${COMPOSE_PROJECT_NAME}.tls=true + - traefik.http.routers.shl-ltt-${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt networks: - ingress networks: diff --git a/docker-compose.yaml b/docker-compose.yaml index caad8f4..19531f5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ --- version: "3.4" services: - shlips: + shl-ltt: build: ./ env_file: - .env \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index aa275b3..7ec11ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "shlips", + "name": "shl-ltt", "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "shlips", + "name": "shl-ltt", "version": "0.0.1", "dependencies": { "@types/node": "^20.8.7", diff --git a/package.json b/package.json index 92710a8..f679e41 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "shlips", + "name": "shl-ltt", "version": "0.0.1", "private": true, "scripts": { diff --git a/svelte.config.js b/svelte.config.js index ebdfef2..106fcf9 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -16,7 +16,7 @@ export default { precompress: false, strict: true, paths: { - base: dev ? '' : '/shlips' + base: dev ? '' : '/shl-ltt' } }) }