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