Created
October 27, 2016 18:42
Revisions
-
ahmadshah created this gist
Oct 27, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ version: '2' services: db: image: mariadb restart: always volumes: - ./docker/data/mysql:/var/lib/mysql ports: - "3306:3306" environment: MYSQL_DATABASE: "foobar" MYSQL_USER: "docker" MYSQL_PASSWORD: "docker" MYSQL_ROOT_PASSWORD: "root" app: image: 127labs/phoenix depends_on: - db volumes: - .:/playground links: - db ports: - 4000:4000 environment: MIX_ENV: dev