seamless-io / seamless-web

Seamless Cloud is a serverless compute platform to run Python script on schedule with a focus on ease of use.
Apache License 2.0
4 stars 0 forks source link

docker-compose not working? - "port already in use" #125

Open spinnaker1 opened 3 years ago

spinnaker1 commented 3 years ago

Hello,

I git cloned your repository and done docker-compose up -d and it gives me this error:

root@ubuntu:/home/user/docker/seamless-web# docker-compose up -d
Recreating seamless-web_server_1   ... done
Recreating seamless-web_postgres_1 ... done
Starting seamless-web_client_1     ... done
Recreating seamless-web_migration_1 ... 
Recreating seamless-web_migration_1 ... error

ERROR: for seamless-web_migration_1  Cannot start service migration: driver failed programming external connectivity on endpoint seamless-web_migration_1 (d00ef4db3bf2b1158f9d77f3785208fc3d75007430609aa0ec3fb31d63216968): Bind for 0.0.0.0:5000 failed: port is already allocated

ERROR: for migration  Cannot start service migration: driver failed programming external connectivity on endpoint seamless-web_migration_1 (d00ef4db3bf2b1158f9d77f3785208fc3d75007430609aa0ec3fb31d63216968): Bind for 0.0.0.0:5000 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.

I tried different ports in the docker-compose.yml, then the error is gone, but I cant reach it website. In netstat -tulpn it also says it binds at TCP-IPv6 socket.

Can anybody verify if he has same error, with plain vanilla installation?

Ubuntu 18.04.5 LTS Docker version: 20.10.1 (latest) docker-compose version: 1.27.4 (latest)