Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exspn-0004zY-Kn for pgadmin-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 11:20:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exspl-0003v7-3q for pgadmin-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 11:20:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exspk-0003us-O3 for pgadmin-hackers@lists.postgresql.org; Mon, 19 Mar 2018 11:20:08 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1exspf-0003TN-Lo for pgadmin-hackers@lists.postgresql.org; Mon, 19 Mar 2018 11:20:07 +0000 Received: by mail-wm0-x22c.google.com with SMTP id f125so6512934wme.4 for ; Mon, 19 Mar 2018 04:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Y+2H5orPSdS7gOsus0S/T4oioJAc23l37aODDaEs0Tk=; b=EjMMPRCUMK/WTSjGWtCj3f4hl5sJhh/qb5urPVKad1wn66BLE6XdbALmQ/GU1+Ajij Li2z7LccY4fFlRfWN+r6MNMWagYbXiwkIVbF7UYrruBl6MzqZsDskOOyBGBi1LY2ZGQk seEHNIu47pBiDZOzaNMfuFLU/eFY+5m1L3X46TbH0URu+gdLE6KzxhFhLRX1uO0Bjs6o RYvlT4tqNMC96y0zdy9KO1xV/3fv0mZ42K8JvhcVLAaVcqzb3Gtu5JVwZEJq3QgygT3y iZMKzmdgdfY4LTC2W8D/48jaXFF33YXMB+Qz5KGY8F+djsYxjYfLBqn3nFb27YRj/RRx naEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Y+2H5orPSdS7gOsus0S/T4oioJAc23l37aODDaEs0Tk=; b=FTzjmiw6gZID3GodLWebl3xJnQegrLeDnR/quZGPcQEcNYjWu73D8kvl/yi3dQDiDQ MyV+UfuGyyem63J1Fzm2WzRAPgDswhxCg3ZHIXLquI6CF/KRVUzW8JTaxCYXJMCr/Yoc 24Q1mYe6Ik7t9fxnDYgVHU3Z07LVArE0ddVt1VJLuxhTdLDTdIeRfoVQSTKe0Q7LRdGF 74gQt4qYM4ZwOV2hw+Z8R9xRbNMgB/T/w27OhYCbk4LyT9O/xmR2sWmjI2cqH6foheJv a+tIDpruU+sb6m7kd5MVcTtAFXBHjCgTFdPSYQk9TajnMEGO3J0FhreyYoC1Xv7n617M fgwg== X-Gm-Message-State: AElRT7GoZKBG8TTH9ihnwOvh1ABeUu7LY2zAsqlzGy5ZPQzqJAkvqQZx DNW5ss/8Fx/ZwQS6/GOgwVIprb0d/acODCR9S9zHkg== X-Google-Smtp-Source: AG47ELuqxldYen4E5aLu+fnNLB6zuLJCMqdey81hi7Usk4ZkwztFIsjYoTLielOfHpZUT5fR1WpMLG5+A7XTxXGmlAI= X-Received: by 10.28.176.134 with SMTP id z128mr6081116wme.86.1521458399772; Mon, 19 Mar 2018 04:19:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.109.7 with HTTP; Mon, 19 Mar 2018 04:19:59 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Mon, 19 Mar 2018 11:19:59 +0000 Message-ID: Subject: Re: Proposal for changes in official Docker image To: =?UTF-8?B?0JzQsNC60YHQuNC8INCa0L7Qu9GM0YbQvtCy?= Cc: pgadmin-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="001a1141101275b05c0567c22360" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --001a1141101275b05c0567c22360 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi On Fri, Mar 16, 2018 at 8:52 PM, =D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC =D0= =9A=D0=BE=D0=BB=D1=8C=D1=86=D0=BE=D0=B2 wrote: > > > I've switched to Gunicorn, adding SSL support. It has the same > interface as the original container: PGADMIN_ENABLE_TLS, > /certs/server.key and /certs/server.cert. > I also incorporated building of sphinx manual in Dockerfile, so now > the image should be complete. > Nice! > > I noticed that I can't use gunicorn forking worker with pgadmin4, this > is probably caused by session implementation, but I'm not sure. You > can investigate this by using e.g. `-w 4` in entrypoint.sh, otherwise > it's working fine with single-process threaded worker. > This is expected, and the reason why is explained here: https://www.pgadmin.org/docs/pgadmin4/2.x/server_deployment.html#requiremen= ts > > I will make my work into a patch and send it to the mail list soon. > Meanwhile, it'd be great if you tested the updated image at > https://hub.docker.com/r/maksbotan/pgadmin4/ I'll try to take a look later in the week (busy prepping for a release at the moment). --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a1141101275b05c0567c22360 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Fri, Mar 16, 2018 at 8:52 PM, =D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC= =D0=9A=D0=BE=D0=BB=D1=8C=D1=86=D0=BE=D0=B2 <kolmax94@gmail.com>= wrote:

I've switched to Gunicorn, adding SSL support. It has the s= ame
interface as the original container: PGADMIN_ENABLE_TLS,
/certs/server.key and /certs/server.cert.
I also incorporated building of sphinx manual in Dockerfile, so now
the image should be complete.

Nice!
=C2=A0

I noticed that I can't use gunicorn forking worker with pgadmin4, this<= br> is probably caused by session implementation, but I'm not sure. You
can investigate this by using e.g. `-w 4` in entrypoint.sh, otherwise
it's working fine with single-process threaded worker.
=

This is expected, and the reason why is explained here:= =C2=A0https://www.pgadmin.org/docs/pgadmin4/2.x/server_deplo= yment.html#requirements
=C2=A0

I will make my work into a patch and send it to the mail list soon.
Meanwhile, it'd be great if you tested the updated image at
https://hub.docker.com/r/maksbotan/pgadmin4/

I'll try to take a look later in the week= (busy prepping for a release at the moment).=C2=A0

--
Dave Page
Blog: http://pgsnake.blogspot.com<= br>Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterpri= se PostgreSQL Company
--001a1141101275b05c0567c22360--