Add "restart: always" back to all our stack.yml examples (since it's only implied for stacks, not for compose)

This commit is contained in:
Tianon Gravi 2017-09-27 10:35:07 -07:00
parent f1d6887863
commit e24f39cddf
10 changed files with 19 additions and 0 deletions

View File

@ -6,10 +6,12 @@ services:
adminer:
image: adminer
restart: always
ports:
- 8080:8080
db:
image: mysql:5.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: example

View File

@ -10,6 +10,7 @@ services:
geonetwork:
image: geonetwork
restart: always
ports:
- 8080:8080
environment:

View File

@ -7,6 +7,7 @@ services:
ghost:
image: ghost:1-alpine
restart: always
ports:
- 8080:2368
environment:
@ -19,5 +20,6 @@ services:
db:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: example

View File

@ -3,6 +3,7 @@ version: '3.1'
services:
joomla:
image: joomla
restart: always
links:
- joomladb:mysql
ports:
@ -13,5 +14,6 @@ services:
joomladb:
image: mysql:5.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: example

View File

@ -6,6 +6,7 @@ version: '3'
services:
mediawiki:
image: mediawiki
restart: always
ports:
- 8080:80
links:
@ -18,6 +19,7 @@ services:
# - ./LocalSettings.php:/var/www/html/LocalSettings.php
database:
image: mariadb
restart: always
environment:
# @see https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/DefaultSettings.php
MYSQL_DATABASE: 'my_wiki'

View File

@ -5,11 +5,13 @@ services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
adminer:
image: adminer
restart: always
ports:
- 8080:8080

View File

@ -14,10 +14,12 @@ services:
owncloud:
image: owncloud
restart: always
ports:
- 8080:80
mysql:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: example

View File

@ -5,10 +5,12 @@ services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
adminer:
image: adminer
restart: always
ports:
- 8080:8080

View File

@ -4,6 +4,7 @@ services:
redmine:
image: redmine
restart: always
ports:
- 8080:3000
environment:
@ -12,6 +13,7 @@ services:
db:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: redmine

View File

@ -4,6 +4,7 @@ services:
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
@ -11,5 +12,6 @@ services:
mysql:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: example