Skip to content

Commit f4e8258

Browse files
authored
Merge pull request #107 from aspiers/restart-unless-stopped
Set restart policy to unless-stopped
2 parents 4e007f8 + 2151a1d commit f4e8258

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/mautic-example-nginx-ssl/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: "2"
22
services:
33
mautic:
4+
restart: unless-stopped
45
image: mautic/mautic
56
depends_on:
67
- mysql
@@ -15,6 +16,7 @@ services:
1516
- mautic-web:/var/www/html
1617

1718
mysql:
19+
restart: unless-stopped
1820
image: mysql:5.6
1921
environment:
2022
MYSQL_ROOT_PASSWORD: mysqlrootpassword
@@ -25,6 +27,7 @@ services:
2527
- mysql:/var/lib/mysql
2628

2729
nginx:
30+
restart: unless-stopped
2831
image: nginx
2932
ports:
3033
- "443:443"

0 commit comments

Comments
 (0)