mirror of https://github.com/k3s-io/k3s
docker-compose: Remove depends_on
depends_on doesn't make much sense here as it does nothing about the readiness of containers. This allows "docker-compose up node" launch the agent without the server. (Similarly to what docker-compose-agent.yml does)pull/672/head
parent
1833b65fcd
commit
eb91c302a9
|
@ -20,8 +20,6 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/run
|
- /var/run
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on:
|
|
||||||
- server
|
|
||||||
environment:
|
environment:
|
||||||
- K3S_URL=https://server:6443
|
- K3S_URL=https://server:6443
|
||||||
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
||||||
|
|
Loading…
Reference in New Issue