Removes depends_on tag from docker-compose.yml files and documentation

Signed-off-by: Vincenzo Ferme <fermevincenzo@gmail.com>
This commit is contained in:
Vincenzo Ferme
2017-11-15 10:19:51 +01:00
committed by Alex Ellis
parent 95b438552b
commit 399d4d40e7
6 changed files with 1 additions and 58 deletions

4
DEV.md
View File

@ -52,8 +52,6 @@ Update the Docker stack with this:
image: alexellis2/faas-markdownrender:latest image: alexellis2/faas-markdownrender:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
``` ```
@ -77,8 +75,6 @@ Update your Docker stack with this definition:
image: alexellis2/faas-alpinefunction:latest image: alexellis2/faas-alpinefunction:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:

View File

@ -22,9 +22,6 @@ services:
command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093" command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093"
ports: ports:
- 9090:9090 - 9090:9090
depends_on:
- gateway
- alertmanager
environment: environment:
no_proxy: "gateway" no_proxy: "gateway"
networks: networks:

View File

@ -26,9 +26,6 @@ services:
command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093" command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093"
ports: ports:
- 9090:9090 - 9090:9090
depends_on:
- gateway
- alertmanager
environment: environment:
no_proxy: "gateway" no_proxy: "gateway"
networks: networks:
@ -59,8 +56,6 @@ services:
image: functions/nodeinfo:latest-armhf image: functions/nodeinfo:latest-armhf
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -71,8 +66,6 @@ services:
image: functions/markdownrender:latest-armhf image: functions/markdownrender:latest-armhf
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -82,8 +75,6 @@ services:
image: functions/alpine:latest-armhf image: functions/alpine:latest-armhf
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -94,8 +85,6 @@ services:
image: functions/alpine:latest-armhf image: functions/alpine:latest-armhf
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:

View File

@ -14,9 +14,6 @@ services:
dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD
faas_nats_address: "nats" faas_nats_address: "nats"
faas_nats_port: 4222 faas_nats_port: 4222
# Start Add for NATS Streaming
depends_on:
- nats
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
@ -66,9 +63,6 @@ services:
command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093" command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093"
ports: ports:
- 9090:9090 - 9090:9090
depends_on:
- gateway
- alertmanager
environment: environment:
no_proxy: "gateway" no_proxy: "gateway"
networks: networks:
@ -98,8 +92,6 @@ services:
image: functions/markdownrender:latest-armhf image: functions/markdownrender:latest-armhf
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:

View File

@ -14,9 +14,6 @@ services:
dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD
faas_nats_address: "nats" faas_nats_address: "nats"
faas_nats_port: 4222 faas_nats_port: 4222
# Start Add for NATS Streaming
depends_on:
- nats
deploy: deploy:
resources: resources:
limits: limits:
@ -79,9 +76,6 @@ services:
command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093" command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093"
ports: ports:
- 9090:9090 - 9090:9090
depends_on:
- gateway
- alertmanager
environment: environment:
no_proxy: "gateway" no_proxy: "gateway"
networks: networks:
@ -125,8 +119,6 @@ services:
image: functions/hubstats:latest image: functions/hubstats:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -147,8 +139,6 @@ services:
image: functions/nodeinfo:latest image: functions/nodeinfo:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -169,8 +159,6 @@ services:
image: functions/alpine:latest image: functions/alpine:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:

View File

@ -36,9 +36,6 @@ services:
command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093" command: "-config.file=/etc/prometheus/prometheus.yml -storage.local.path=/prometheus -storage.local.memory-chunks=10000 --alertmanager.url=http://alertmanager:9093"
ports: ports:
- 9090:9090 - 9090:9090
depends_on:
- gateway
- alertmanager
environment: environment:
no_proxy: "gateway" no_proxy: "gateway"
networks: networks:
@ -82,8 +79,6 @@ services:
image: functions/webhookstash:latest image: functions/webhookstash:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -99,8 +94,6 @@ services:
image: functions/hubstats:latest image: functions/hubstats:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -117,8 +110,6 @@ services:
image: functions/nodeinfo:latest image: functions/nodeinfo:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -135,8 +126,6 @@ services:
image: functions/alpine:latest image: functions/alpine:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -155,8 +144,6 @@ services:
labels: labels:
function: "true" function: "true"
com.faas.max_replicas: "10" com.faas.max_replicas: "10"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -174,8 +161,6 @@ services:
image: functions/alpine:latest image: functions/alpine:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -193,8 +178,6 @@ services:
image: functions/alpine:latest image: functions/alpine:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment:
@ -211,8 +194,6 @@ services:
image: functions/markdown-render:latest image: functions/markdown-render:latest
labels: labels:
function: "true" function: "true"
depends_on:
- gateway
networks: networks:
- functions - functions
environment: environment: