Last active
July 17, 2018 19:59
Revisions
-
royboy5 revised this gist
Jul 17, 2018 . 1 changed file with 1 addition and 0 deletions.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 @@ -2,6 +2,7 @@ version: '3' services: mysql: build: ./docker/mysql image: mysql:latest container_name: "mysql" environment: -
royboy5 revised this gist
Jul 17, 2018 . 1 changed file with 1 addition and 1 deletion.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 @@ -12,7 +12,7 @@ services: ports: - 3306:3306 volumes: - ./data/db:/var/lib/mysql waldo-api: build: ./docker/waldo-api -
royboy5 created this gist
Jul 17, 2018 .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,32 @@ version: '3' services: mysql: image: mysql:latest container_name: "mysql" environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: waldo MYSQL_USER: waldo MYSQL_PASSWORD: password ports: - 3306:3306 volumes: - ./data/db:/data/db waldo-api: build: ./docker/waldo-api image: mhart/alpine-node container_name: "waldo-api" privileged: true ports: - 3000:3000 volumes: - .:/app working_dir: /app links: - mysql depends_on: - mysql environment: - DOCKER=true