it seems like this container does not have
SPRYKER_DB_*
env vars declared
I could work it around by just running the command propel:install in zed instead of the CLI container
can you try localhost
instead of 127.0.0.1
? (wild guess)
password is secret
?
I tried also π
the password is secret by default isnt it?
yes
I am using secret as password
on my system the database is called "postgres" and "eu-docker" is a schema.
I tried postgres also but did not work
thats why I changed it to eu-docker
what are other params that you are using?
No, no other parameters.
Do you have another Postgress instance running on your machine, which would not know anything about the spryker user?!
what does your deploy.dev.yml
say?
any customization?
May be you have MySQL/Maria instead of PGSQL running. Check it too
π
of course it is running, on port 5432
@UJN2JRU4F no customization
Do you have 5432 port forwarded to the host? (it should be declared in deploy.yml file as separate tcp endpoint)
Also please check that credentials in deploy.yml file for database.
yes
running this command
β nc -vz 0.0.0.0 5432
Connection to 0.0.0.0 port 5432 [tcp/postgresql] succeeded!
is success
the port is open on the host because it is forwarded from the Gateway container
spryker_b2b_dev_gateway_1 /docker-entrypoint.sh ngin ... Up 0.0.0.0:16379->16379/tcp,:::16379->16379/tcp, 0.0.0.0:443->443/tcp,:::443->443/tcp, 0.0.0.0:5432->5432/tcp,:::5432->5432/tcp, 0.0.0.0:5672->5672/tcp,:::5672->5672/tcp, 0.0.0.0:80->80/tcp,:::80->80/tcp, 0.0.0.0:9200->9200/tcp,:::9200->9200/tcp
sudo lsof -nP -i4TCP:5432 | grep LISTEN
thank you
this last command listed 2 processes