Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image: Forward multicast traffic #19

Closed
mStirner opened this issue Dec 6, 2022 · 4 comments
Closed

Docker image: Forward multicast traffic #19

mStirner opened this issue Dec 6, 2022 · 4 comments

Comments

@mStirner
Copy link
Member Author

mStirner commented Dec 6, 2022

@mStirner
Copy link
Member Author

mStirner commented Dec 7, 2022

@mStirner
Copy link
Member Author

Create container (without starting it) and connect it to multiple networks.
E.g. start the docker compose without the connector container, connect the container to the host network, and the created docker compose network, then start it and see what happens.

@mStirner
Copy link
Member Author

Put container on host network, use exposed frontend port. The container works as reverse proxy.
See quick start guide from: https://docs.open-haus.io/#/administration/quick-start

version: "3"
services:

  database:
    image: mongo
    container_name: database
    hostname: database

  backend:
    image: "openhaus/backend:latest"
    container_name: backend
    hostname: backend
    environment:
      - NODE_ENV=production
      - DATABASE_HOST=database
      - UUID=00000000-0000-0000-0000-000000000000
      - VAULT_MASTER_PASSWORD=Pa$$w0rd
      - USERS_JWT_SECRET=Pa$$W0rd
      - API_AUTH_ENABLED=false
    depends_on:
      - database
    tty: true

  frontend:
    image: "openhaus/frontend:latest"
    container_name: frontend
    hostname: frontend
    ports:
      - "80:80"
      - "443:443"
    depends_on:
      - backend
    environment:
      - BACKEND_HOST=backend
      - NODE_ENV=production

  connector:
    image: "openhaus/connector:latest"
    container_name: connector
    hostname: connector
    environment:
      - NODE_ENV=production
      - BACKEND_HOST=127.0.0.1
      - BACKEND_PORT=80 # Frontend container exposed http port, it works as reverse proxy
      - STARTUP_DELAY=2000
    network_mode: host
    depends_on:
      - frontend
    tty: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant