• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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