Always Pull Image
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
||||
DB_USERNAME: root
|
||||
DB_PASSWORD: rootPass
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
io.rancher.sidekicks: cron, web
|
||||
links:
|
||||
@@ -46,6 +47,7 @@ services:
|
||||
DB_USERNAME: root
|
||||
DB_PASSWORD: rootPass
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
links:
|
||||
- db:ninja-mysql
|
||||
@@ -58,6 +60,7 @@ services:
|
||||
MYSQL_DATABASE: ninja_db
|
||||
MYSQL_ROOT_PASSWORD: rootPass
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
restart: on-failure
|
||||
volumes:
|
||||
@@ -65,6 +68,7 @@ services:
|
||||
web:
|
||||
image: nginx
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
links:
|
||||
- app
|
||||
|
||||
Reference in New Issue
Block a user