docker-compose.yml 365 B

12345678910111213141516171819
  1. version: '2.3'
  2. services:
  3. app:
  4. build:
  5. context: .
  6. dockerfile: elixir-plug-ecto.dockerfile
  7. target: app
  8. ports:
  9. - "8080:8080"
  10. nginx:
  11. image: jwilder/nginx-proxy:alpine
  12. environment:
  13. VIRTUAL_HOST: 0.0.0.0
  14. VIRTUAL_PORT: 5000
  15. volumes:
  16. - "/var/run/docker.sock:/tmp/docker.sock:ro"
  17. ports:
  18. - "4000:80"