From 8041f5f6e660fb2504bb89f29ad45f172ffd3cb0 Mon Sep 17 00:00:00 2001 From: cloudhack Date: Mon, 30 Jan 2023 00:22:32 +0100 Subject: [PATCH] rename web to api --- docker-compose-traefik-letsencrypt-dns01.yml | 14 +++++++------- docker-compose-traefik-letsencrypt.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docker-compose-traefik-letsencrypt-dns01.yml b/docker-compose-traefik-letsencrypt-dns01.yml index bac2b6c..d4e4b63 100644 --- a/docker-compose-traefik-letsencrypt-dns01.yml +++ b/docker-compose-traefik-letsencrypt-dns01.yml @@ -64,13 +64,13 @@ services: image: "rabbitmq:3-management" container_name: "rabbitmq" restart: always - web: + api: labels: - "traefik.enable=true" - - "traefik.http.routers.web.rule=Host(`localhost.openiap.io`)" - - "traefik.http.routers.web.entrypoints=websecure" - - "traefik.http.routers.web.tls.certresolver=myresolver" - - "traefik.http.services.web.loadbalancer.server.port=3000" + - "traefik.http.routers.api.rule=Host(`localhost.openiap.io`)" + - "traefik.http.routers.api.entrypoints=websecure" + - "traefik.http.routers.api.tls.certresolver=myresolver" + - "traefik.http.services.api.loadbalancer.server.port=3000" - "traefik.frontend.passHostHeader=true" image: "openiap/openflow" deploy: @@ -110,8 +110,8 @@ services: # - nodered_docker_use_project=true # uncomment to add nodered to the same docker-compose project ( will breake running docker-compose up -d if any nodereds are running ) - nodered_images=[{"name":"Latest Plain Nodered", "image":"openiap/nodered"},{"name":"Latest Puppeteer Nodered", "image":"openiap/nodered-puppeteer"},{"name":"Latest TagUI Nodered", "image":"openiap/nodered-tagui"}] - - nodered_ws_url=ws://web:3000 - - saml_federation_metadata=http://web:3000/issue/FederationMetadata/2007-06/FederationMetadata.xml + - nodered_ws_url=ws://api:3000 + - saml_federation_metadata=http://api:3000/issue/FederationMetadata/2007-06/FederationMetadata.xml - nodered_saml_entrypoint=https://localhost.openiap.io/issue - amqp_url=amqp://guest:guest@rabbitmq - mongodb_url=mongodb://mongodb:27017 diff --git a/docker-compose-traefik-letsencrypt.yml b/docker-compose-traefik-letsencrypt.yml index 65340d0..5df3b1a 100644 --- a/docker-compose-traefik-letsencrypt.yml +++ b/docker-compose-traefik-letsencrypt.yml @@ -57,13 +57,13 @@ services: image: "rabbitmq:3-management" container_name: "rabbitmq" restart: always - web: + api: labels: - "traefik.enable=true" - - "traefik.http.routers.web.rule=Host(`localhost.openiap.io`)" - - "traefik.http.routers.web.entrypoints=websecure" - - "traefik.http.routers.web.tls.certresolver=myresolver" - - "traefik.http.services.web.loadbalancer.server.port=3000" + - "traefik.http.routers.api.rule=Host(`localhost.openiap.io`)" + - "traefik.http.routers.api.entrypoints=websecure" + - "traefik.http.routers.api.tls.certresolver=myresolver" + - "traefik.http.services.api.loadbalancer.server.port=3000" - "traefik.frontend.passHostHeader=true" image: "openiap/openflow" deploy: @@ -106,8 +106,8 @@ services: "image":"openiap/nodered"},{"name":"Latest Puppeteer Nodered", "image":"openiap/nodered-puppeteer"},{"name":"Latest TagUI Nodered", "image":"openiap/nodered-tagui"}] - - nodered_ws_url=ws://web:3000 - - saml_federation_metadata=http://web:3000/issue/FederationMetadata/2007-06/FederationMetadata.xml + - nodered_ws_url=ws://api:3000 + - saml_federation_metadata=http://api:3000/issue/FederationMetadata/2007-06/FederationMetadata.xml - nodered_saml_entrypoint=https://localhost.openiap.io/issue - amqp_url=amqp://guest:guest@rabbitmq - mongodb_url=mongodb://mongodb:27017