Files
hub-monorepo/docker-compose.yml
Shane da Silva ea55abcb83 Add separate Dockerfile for dedicated public image (#962)
We want to make it easier for developers to get started with hubs.

Add a separate optimized Docker image which we'll distribute for both
AMD and ARM architectures.

For now the publishing process is manual, but once hubs are fully open
(no peering allowlists) we'll be able to auto-publish with each hubble
release on NPM.
2023-05-11 20:31:45 -07:00

41 lines
822 B
YAML

# To start a hub, run:
#
# docker compose run hubble yarn identity create
# docker compose up hubble
#
# If you want your hub to support grpc-web, you can also run
#
# docker compose up envoy
#
# This can be useful when playing with hubs locally.
version: '3.9'
services:
hubble:
build:
context: .
dockerfile: Dockerfile.hubble
ports:
- '2282:2282'
- '2283:2283'
- '2284:2284'
volumes:
- ./apps/hubble/.hub:/home/node/app/apps/hubble/.hub
- ./apps/hubble/.rocks:/home/node/app/apps/hubble/.rocks
networks:
- my-network
envoy:
image: envoyproxy/envoy:v1.26.1
ports:
- '2285:2285'
- '9901:9901'
volumes:
- ./apps/hubble/envoy/envoy.yaml:/etc/envoy/envoy.yaml
networks:
- my-network
networks:
my-network: