Created
March 26, 2021 12:23
-
-
Save varsubham/29bdffff6e7ed12eb367aafa6f91b7e5 to your computer and use it in GitHub Desktop.
Revisions
-
varsubham created this gist
Mar 26, 2021 .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,20 @@ version: "3.8" services: db: build: ./db environment: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: test restart: always web: build: ./web environment: MYSQL_DATABASE: test MYSQL_USER: root MYSQL_PASSWORD: password MYSQL_HOST: db ports: - "5000:5000" depends_on: - db restart: on-failure