amarbajric / EBUSA-AIM17

BPMaaS. Platform for buying, selling and reviewing processes
MIT License
2 stars 3 forks source link

Added docker support for the MySQL database #36

Closed amarbajric closed 6 years ago

amarbajric commented 6 years ago

resolves #4

Done:

ToDo:

stfnltnr commented 6 years ago

Everything worked as expected except docker-compose.yml - in my case only version: '2' worked well. Imo a downgrade to version 2 should not be an issue. Can you verify that?

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

I'm running the following version.

>> docker version
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.8.3
 Git commit:   092cba3
 Built:        Thu Oct 12 22:34:44 2017
 OS/Arch:      linux/amd64```
Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   092cba3
 Built:        Thu Oct 12 22:34:44 2017
 OS/Arch:      linux/amd64
 Experimental: false
>> docker-compose version
docker-compose version 1.8.0, build unknown
docker-py version: 1.9.0
CPython version: 2.7.14
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
amarbajric commented 6 years ago

I would suggest you to upgrade docker or at least docker-compose as the newest compose file format is 3.6. Here is a link for upgrading compose only: https://github.com/docker/compose/releases

Below you can find my versions of docker and docker-compose screen shot 2018-03-30 at 10 41 32

Suggestion: