This commit is contained in:
WilliamMiceli
2018-03-29 15:28:36 -04:00
parent 99d64a73c6
commit 4ac70be201

View File

@@ -35,8 +35,8 @@ services:
db: db:
image: mysql image: mysql
environment: environment:
- MYSQL_ROOT_PASSWORD='test123456' - MYSQL_ROOT_PASSWORD=test123456
- MYSQL_DATABASE='ninja' - MYSQL_DATABASE=ninja
labels: labels:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
restart: on-failure restart: on-failure