docker-compose not working

(from github.com/Band-Aid)
There’re some errors when trying to boot up the image. Could you help advice what I am doing wrong here?

I’m using the docker-compose from this repo

$ docker-compose up
Starting es01 ... done
Starting es02 ... done
Starting kibana ... done
Starting fess01 ... done
Attaching to es01, es02, kibana, fess01
fess01    |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
fess01    |                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 30 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 29 
fess01    | Warning: retries left.
es01      | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
es02      | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 28 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 27 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 26 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 25 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 24 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 23 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 22 
fess01    | Warning: retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: connection refused Will retry in 1 seconds. 21 
fess01    | Warning: retries left.

(from github.com/marevol)
It’s better to check Kernel settings and clean docker configuration, such as running docker system prune.

(from github.com/marevol)
If you use Docker for Mac, you need to increase Memory setting in Preferences.

(from github.com/Band-Aid)
@marevol I gave it 4GB but it still failed.
after upgrading docker version to 3.4 it started to work.

docker-compose.yml
version: "3.4"