From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Jo Drop <jo-dropbox(at)web(dot)de> |
Cc: | "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgadmin setup without /usr/pgadmin4/bin/setup-web.sh |
Date: | 2021-02-14 16:12:07 |
Message-ID: | CA+OCxoyQx98LXcbbhXmEMG3e7r9V-aYjDFVATr9wud0hoyDTWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi
On Sat, Feb 13, 2021 at 12:10 PM Jo Drop <jo-dropbox(at)web(dot)de> wrote:
> Hi,
>
>
> I am about to set up pgadmin 4 in a lxc container and followed the
> instructions for the web only mode over here:
> https://www.pgadmin.org/download/pgadmin-4-apt/
>
> The last part is interactive and I would like to avoid that.
>
> Is there an alternative to using /usr/pgadmin4/bin/setup-web.sh ? I
> would prefer to just copy some pre-configured config files into the
> container.
>
> Which would I need to copy?
>
The setup script doesn't create any configuration files you can just copy -
it enables Apache HTTPD and some required modules, and if you're on Redhat
it will run some SELinux commands.
You can avoid the interactivity by setting PGADMIN_SETUP_EMAIL
and PGADMIN_SETUP_PASSWORD in the environment to an appropriate email
address and password for the initial user, and then running the script with
the -y option on the command line.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
From | Date | Subject | |
---|---|---|---|
Next Message | Post Gresql | 2021-02-14 18:07:04 | Re: desktop application |
Previous Message | Patrick De Visschere | 2021-02-13 15:24:20 | Re: pgAdmin 4 v4.30 released |