diff --git a/docker-compose.yml b/docker-compose.yml index f43914f..bfe2a14 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,10 @@ services: volumes: - migrations:/usr/src/app/migrations - ./yotter-config.json:/usr/src/app/yotter-config.json + healthcheck: + test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:5000"] + interval: 1m + timeout: 3s volumes: mysql: migrations: