Skip to content

Commit

Permalink
Added mysql restart container policy
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio1990 committed Jan 7, 2017
1 parent af4f30d commit 2e97513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function run_mysql_container {
docker run \
--name money_tracker_mysql_container \
--env-file ./docker/mysql/mysql.env \
--restart=unless-stopped \
-v $MYSQL_DATA_FOLDER:/var/lib/mysql \
-d -p 3306:3306 mysql:5.6
}
Expand Down

0 comments on commit 2e97513

Please sign in to comment.