Skip to content

Commit

Permalink
Merge pull request #107 from aspiers/restart-unless-stopped
Browse files Browse the repository at this point in the history
Set restart policy to unless-stopped
  • Loading branch information
luizeof authored Jul 26, 2019
2 parents 4e007f8 + 2151a1d commit f4e8258
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/mautic-example-nginx-ssl/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: "2"
services:
mautic:
restart: unless-stopped
image: mautic/mautic
depends_on:
- mysql
Expand All @@ -15,6 +16,7 @@ services:
- mautic-web:/var/www/html

mysql:
restart: unless-stopped
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: mysqlrootpassword
Expand All @@ -25,6 +27,7 @@ services:
- mysql:/var/lib/mysql

nginx:
restart: unless-stopped
image: nginx
ports:
- "443:443"
Expand Down

0 comments on commit f4e8258

Please sign in to comment.