- docker 20.10.14
- docker-compose 1.25.0
sudo tee -a /etc/hosts > /dev/null <<EOT
127.0.0.1 hubs.local
127.0.0.1 hubs-proxy.local
127.0.0.1 hubs-assets.local
127.0.0.1 hubs-link.local
127.0.0.1 hubs-reticulum.local
127.0.0.1 dialog.local
EOT
git clone --depth=1 --recurse-submodules https://github.com/Fi1osof/mozilla-hubs-docker
cd mozilla-hubs-docker
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build proxy
For local debug only
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build mail
Visit http://localhost:8025
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build db
Replace
config :ret, Ret.Mailer, adapter: Bamboo.LocalAdapter
with
config :ret, Ret.Mailer, adapter: Bamboo.SMTPAdapter,
server: "mail",
port: 1025,
tls: :never,
tls_verify: :verify_none,
hostname: "hubs.local",
username: "hubs@hubs.local",
retries: 3
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build reticulum
Visit https://hubs.local:4000 and accept self-signet certificate and close this window.
docker-compose up -d --build dialog
Visit https://dialog:4443 and accept self-signet certificate and close this window.
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build hubs
Visit https://hubs.local:8080 and accept self-signet certificate.
docker-compose up -d --build spoke
Vitis https://hubs.local:4000/spoke
docker-compose up -d --build postgrest
docker-compose up -d --build admin