Skip to content

Commit

Permalink
change restart docker composer
Browse files Browse the repository at this point in the history
  • Loading branch information
louisbau committed Jun 2, 2022
1 parent 432353c commit 2b00628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:
mysqldb:
image: mysql:5.7
restart: restart
restart: unless-stopped
env_file: ./.env
environment:
- MYSQL_ROOT_PASSWORD=$MYSQLDB_ROOT_PASSWORD
Expand All @@ -16,7 +16,7 @@ services:
- mysqldb
build:
context: ./backend
restart: unless-stopped
restart: always
env_file: ./.env
ports:
- $NODE_LOCAL_PORT:$NODE_DOCKER_PORT
Expand Down

0 comments on commit 2b00628

Please sign in to comment.