Skip to content

Instantly share code, notes, and snippets.

@philss
Created February 20, 2018 03:23
Show Gist options
  • Save philss/1993478ee4d2c029212d12603bd0dd72 to your computer and use it in GitHub Desktop.
Save philss/1993478ee4d2c029212d12603bd0dd72 to your computer and use it in GitHub Desktop.
Example of docker compose for a Phoenix App
version: "3.3"
services:
db:
image: postgres
ports:
- "5432"
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "4000:4000"
depends_on:
- db
volumes:
- .:/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment