Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

1.6 KB
Raw Blame
# OpenRemote v3
#
# Profile for running the reverse proxy on https://127.0.0.1/ with the manager backend mapped to the host machine on
# 127.0.0.1:8080 and the keycloak backend mapped to the host machine on 127.0.0.1:8081
#
# Please see deploy.yml for configuration details for each service.
#
volumes:
  postgresql-data:

services:
  proxy:
    extends:
      file: deploy.yml
      service: proxy
    environment:
      MANAGER_HOST: ${MANAGER_HOST:-host.docker.internal}
      # Uncomment to use sish in development
      #SISH_HOST: sish
      #SISH_PORT: 8090

  keycloak:
    extends:
      file: deploy.yml
      service: keycloak
    ports:
      - "8081:8080"
    depends_on:
      postgresql:
        condition: service_healthy
    # OR_MANAGER_URL is not set: the manager is expected on the same base URL as keycloak.

  postgresql:
    extends:
      file: deploy.yml
      service: postgresql
    volumes:
      - postgresql-data:/var/lib/postgresql/data
    ports:
      - "5432:5432"

# Uncomment to use sish in development tunnels won't be usable without wildcard dns but the start/stop tunnel logic can be tested
#  sish:
#    image: antoniomika/sish:latest
#    depends_on:
#      - proxy
#    healthcheck:
#      test: ["CMD", "/app/app", "-v"]
#    ports:
#      - "2222:2222"
#      - "9000-9002:9000-9002"
#    command: |
#      --ssh-address=:2222
#      --http-address=:8090
#      --https=false
#      --verify-ssl=false
#      --idle-connection=false
#      --port-bind-range="9000-9002"
#      --bind-random-ports=false
#      --bind-random-subdomains=false
#      --force-requested-subdomains=true
#    restart: always