Re: dpage/pgadmin4 container failed in rancher/kubernetes , but works directly from dockerd

2019-07-17 Thread Dave Page
Cool, glad to hear it's working. You should probably set it to 80 though, the same as you're using for PGADMIN_LISTEN_PORT. It would be good to know what's actually causing this though - I'll see about having the container dump the environment out at startup. On Wed, Jul 17, 2019 at 9:49 AM Dmitr

Re: dpage/pgadmin4 container failed in rancher/kubernetes , but works directly from dockerd

2019-07-17 Thread Dmitry Zhirkov
Thank you very much, Dave ! I added environment variable "PGADMIN_PORT = 5432" to the container and it's now up and running . ср, 17 июл. 2019 г. в 11:06, Dave Page : > Hi > > [Please keep replies on the mailing list] > > The code where the error is happening (pgAdmin4.py, line 131 per your > re

Re: dpage/pgadmin4 container failed in rancher/kubernetes , but works directly from dockerd

2019-07-17 Thread Dave Page
Hi [Please keep replies on the mailing list] The code where the error is happening (pgAdmin4.py, line 131 per your report) looks like this: port = os.environ['PGADMIN_PORT'] app.logger.debug( 'Not running under the desktop runtime, port: %s', port ) server_port = int(port) It's setting

Re: dpage/pgadmin4 container failed in rancher/kubernetes , but works directly from dockerd

2019-07-12 Thread Dave Page
Hi On Fri, Jul 12, 2019 at 2:11 PM Dmitry Zhirkov wrote: > > > > > > > > *Traceback (most recent call last): File "run_pgadmin.py", line 4, in > from pgAdmin4 import app File "/pgadmin4/pgAdmin4.py", line > 131, in server_port = int(port)ValueError: invalid literal for > int() with bas

dpage/pgadmin4 container failed in rancher/kubernetes , but works directly from dockerd

2019-07-12 Thread Dmitry Zhirkov
Hello to everyone , my environment: Ubuntu 16.04.6 LTS 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Docker version 18.09.7, build 2d0083d rancher v2.2.4 if I start container as : docker run -p 8000:80 -e "PGADMIN_DEFAULT_EMAIL=mymail" -e "PGADMI