To start your Phoenix server:
- Copy the environment config
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
To run the docker compose orchestration with Traefik reverse proxy with DNS for the services:
First, install dnsmasq (brew install dnsmasq) and edit dnsmasq.conf.
sudo vim $(brew --prefix)/etc/dnsmasq.confaddress=/uptime.arpa/127.0.0.1
resolv-file=/etc/resolver/arpa
port=53
Then, add the resolver:
mkdir -v /etc/resolver
sudo vim /etc/resolver/arpanameserver 127.0.0.1
sudo brew services start dnsmasqSee also: https://gist.github.com/ogrrd/5831371