• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question How to get Docker Host IP - Password Pusher

BNO

Basic Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.55_build1800230907.05 os_Ubuntu 20.04
Hey,

i want to install Password Pusher (GitHub - pglombardo/PasswordPusher: An application to securely communicate passwords over the web. Passwords automatically expire after a certain number of views and/or time has passed. Track who, what and when.) (MySQL) via docker hub, that works perfectly.
i created under my domain a new database.
now i need to setup a database url string, no problem i think, but what is the host?
i can't use localhost, because that would be the docker container.
i can't use plesk externe ip adress / hostname, because i don't want to open SQL Port for external use.
there is way how i can get the host-ip (from plesk where the database is) ?
i try 172.17.0.1 but it won't work.
ActiveRecord::ConnectionNotEstablished: Can't connect to server on '172.17.0.1' (115)
 
Back
Top