Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker composer #1

Open
AppWerft opened this issue Aug 31, 2018 · 2 comments
Open

docker composer #1

AppWerft opened this issue Aug 31, 2018 · 2 comments

Comments

@AppWerft
Copy link

Hi,

I have done:

sudo apt-get install docker
sudo apt-get install docker-compose
sudo mkdir /usr/local/bin/baqend
sudo cd /usr/local/bin/baqend
sudo curl https://raw.githubusercontent.com/Baqend/docker-baqend-ce/master/docker-compose.yml > ./docker-compose.yml
sudo docker-compose up -d
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/

Beginners issue?

@AppWerft
Copy link
Author

AppWerft commented Aug 31, 2018

Self solved: I have edited the versioin from 3 to 2 and it "works".

Next I have

sudo ufw allow 8080

But the request to URL makes a redirect to https and then:
This site can’t provide a secure connection

*** sent an invalid response.

Any ideas?

An error occurred during a connection to ####.de:8080. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG 

@fbuecklers
Copy link
Member

It seems that you are using an old version of docker-compose. The official ubuntu repositories are not always up to date.

Here are the official installation instructions:
https://docs.docker.com/compose/install/#install-compose

The server itself does not make any redirects to SSL. There must be something misconfigured on your system. Did you have to try to curl it?

What happened if you run:
curl http://localhost:8080/v1/status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants