-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
Create container (without starting it) and connect it to multiple networks. |
Put container on host network, use exposed frontend port. The container works as reverse proxy. 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 |
https://stackoverflow.com/questions/37214608/docker-receiving-multicast-traffic
moby/libnetwork#2397
https://docs.telosalliance.com/docker-deployment/advanced-docker-topics/networking/multicast-routing-for-host-network
https://www.reddit.com/r/docker/comments/o8ywmx/multicast_in_a_container/
https://itecnote.com/tecnote/docker-receiving-multicast-traffic/
https://troglobit.github.io/howtos/multicast/
The text was updated successfully, but these errors were encountered: