Adjust the startup order of docker-compose

Adjust the startup order of node and server, server service should be started at first.
This commit is contained in:
senhtry 2019-03-12 10:56:47 +08:00 committed by GitHub
parent dc91c4850b
commit ef827e9957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ services:
- /run
- /var/run
privileged: true
depends_on:
- server
environment:
- K3S_URL=https://server:6443
- K3S_CLUSTER_SECRET=somethingtotallyrandom