mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 08:13:25 +00:00
Removes depends_on tag from docker-compose.yml files and documentation
Signed-off-by: Vincenzo Ferme <fermevincenzo@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
95b438552b
commit
399d4d40e7
4
DEV.md
4
DEV.md
@ -52,8 +52,6 @@ Update the Docker stack with this:
|
||||
image: alexellis2/faas-markdownrender:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
```
|
||||
@ -77,8 +75,6 @@ Update your Docker stack with this definition:
|
||||
image: alexellis2/faas-alpinefunction:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
@ -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"
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- gateway
|
||||
- alertmanager
|
||||
environment:
|
||||
no_proxy: "gateway"
|
||||
networks:
|
||||
|
@ -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"
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- gateway
|
||||
- alertmanager
|
||||
environment:
|
||||
no_proxy: "gateway"
|
||||
networks:
|
||||
@ -59,8 +56,6 @@ services:
|
||||
image: functions/nodeinfo:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -71,8 +66,6 @@ services:
|
||||
image: functions/markdownrender:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -82,8 +75,6 @@ services:
|
||||
image: functions/alpine:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -94,8 +85,6 @@ services:
|
||||
image: functions/alpine:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
@ -14,9 +14,6 @@ services:
|
||||
dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD
|
||||
faas_nats_address: "nats"
|
||||
faas_nats_port: 4222
|
||||
# Start Add for NATS Streaming
|
||||
depends_on:
|
||||
- nats
|
||||
deploy:
|
||||
restart_policy:
|
||||
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"
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- gateway
|
||||
- alertmanager
|
||||
environment:
|
||||
no_proxy: "gateway"
|
||||
networks:
|
||||
@ -98,8 +92,6 @@ services:
|
||||
image: functions/markdownrender:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
@ -14,9 +14,6 @@ services:
|
||||
dnsrr: "true" # Temporarily use dnsrr in place of VIP while issue persists on PWD
|
||||
faas_nats_address: "nats"
|
||||
faas_nats_port: 4222
|
||||
# Start Add for NATS Streaming
|
||||
depends_on:
|
||||
- nats
|
||||
deploy:
|
||||
resources:
|
||||
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"
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- gateway
|
||||
- alertmanager
|
||||
environment:
|
||||
no_proxy: "gateway"
|
||||
networks:
|
||||
@ -125,8 +119,6 @@ services:
|
||||
image: functions/hubstats:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -147,8 +139,6 @@ services:
|
||||
image: functions/nodeinfo:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -169,8 +159,6 @@ services:
|
||||
image: functions/alpine:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
@ -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"
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- gateway
|
||||
- alertmanager
|
||||
environment:
|
||||
no_proxy: "gateway"
|
||||
networks:
|
||||
@ -82,8 +79,6 @@ services:
|
||||
image: functions/webhookstash:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -99,8 +94,6 @@ services:
|
||||
image: functions/hubstats:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -117,8 +110,6 @@ services:
|
||||
image: functions/nodeinfo:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -135,8 +126,6 @@ services:
|
||||
image: functions/alpine:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -155,8 +144,6 @@ services:
|
||||
labels:
|
||||
function: "true"
|
||||
com.faas.max_replicas: "10"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -174,8 +161,6 @@ services:
|
||||
image: functions/alpine:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -193,8 +178,6 @@ services:
|
||||
image: functions/alpine:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -211,8 +194,6 @@ services:
|
||||
image: functions/markdown-render:latest
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user