Dave Page
850afd7402
Add a container option (PGADMIN_DISABLE_POSTFIX) to disable the Postfix server.
2021-01-20 11:50:05 +00:00
Ganesh Jaybhay
08c4deba5a
Added following security enhancements:
...
1) Added ALLOWED_HOSTS list to limit the host address.
2) Added CSP and HSTS security header.
3) Hide the webserver/ development framework version.
Fixes #5919
2020-10-20 17:14:45 +05:30
Dave Page
23e218f1b5
Ensure Postfix starts in the container, now it runs as non-root by default. Fixes #5076
2020-01-20 10:41:27 +00:00
Levitt Olivier
e29ea15554
Fix an issue where servers.json import fails when running in desktop mode.
2019-12-17 13:15:04 +05:30
Dave Page
619c4e1180
Run pgAdmin in the container as a non-root user (pgadmin, UID: 5050). Fixes #4939 .
2019-12-09 11:09:46 +05:30
Dave Page
246a475600
Allow Gunicorn logs in the container to be directed to a file specified through GUNICORN_ACCESS_LOGFILE. Fixes #4944
2019-12-02 20:14:01 -05:00
Dave Page
9bdb5ea5e0
Include PostgreSQL 12 binaries in the container. Fixes #4823
2019-10-11 11:13:06 +01:00
Dave Page
110a51c5b2
Refactor Dockerfile to avoid needing to run supporting scripts (i.e. 'docker build .' will work) and minimise layers. Fixes #4752
2019-09-16 13:48:11 +01:00
Dave Page
b4a754bdc0
Remove copy of file that's now created on the fly.
2019-09-09 13:35:55 -04:00
Dave Page
25f85fe123
Fix PGADMIN_SERVER_JSON_FILE environment variable support in the container. Fixes #4657
2019-08-23 09:53:24 +01:00
Dave Page
c76b30e353
Allow configuration options to be set from the environment in the container distribution. Fixes #4651
2019-08-22 15:24:04 +01:00
Andrew Coleman
d397959f6a
Allow the path to /pgadmin4/servers.json to be overridden in the container distribution. Fixes #4400
2019-06-27 10:56:37 -04:00
Dave Page
2fa849dc26
Also need openssl-dev
2019-05-28 18:11:42 -04:00
Dave Page
f340cd044b
build-deps doesn't exist any more.
2019-05-28 18:09:06 -04:00
Dave Page
991f667f9f
Argh, they are Alpine packages, not Python.
2019-05-28 18:01:56 -04:00
Dave Page
307637b969
Looks like we also need build tools for the cryptography module.
2019-05-28 17:56:54 -04:00
Dave Page
91595593d3
Doc builds now need the cryptography module.
2019-05-28 17:50:11 -04:00
Dave Page
17464aa034
Don't use old-style variable notation.
2019-03-21 14:02:19 +00:00
Dave Page
d8f9e3e87b
Optimise the Docker file to minimise the number of layers and maximise the chances that changes will be in the last layers built.
2019-03-01 12:29:05 +00:00
Dave Page
f552519ed6
Set the Gunicorn worker timeout to match the configured session expiry. Partially fixes #3656
2019-03-01 11:55:17 +00:00
Dave Page
a39f43788b
Include multiple versions of the PG utilties in containers. Fixes #3886
2019-02-20 15:17:16 +00:00
Dave Page
aae49b5324
Update Docker README to match reality.
2019-02-20 14:51:36 +00:00
Dave Page
438116c574
Update Alpine Linux version in the docker container. This also updates the PG utilities to v11. Fixes #3991
2019-02-13 17:18:14 +00:00
Dave Page
cbfa614cf9
Ensure we use PIP 18.1 in the Docker build because of https://github.com/pypa/pip/issues/6197
2019-01-31 14:28:20 +01:00
Diego Augusto Molina
da3b3de397
Expose the bind address in the Docker container via PGADMIN_BIND_ADDRESS. Fixes #3955
2019-01-31 14:26:35 +01:00
Murtuza Zabuawala
e23d307c56
Update copyright notices for 2019
2019-01-02 15:54:12 +05:30
Dave Page
12b7e03085
Add flask-migrate to the container doc build as it's now required.
2018-12-21 10:58:15 +00:00
Dave Page
1141930178
Allow servers to be pre-loaded into container deployments. Fixes #3801
2018-12-05 17:16:46 +00:00
Dave Page
55402ec7d9
Run Postfix in the container build so passwords can be reset etc. Fixes #3599
2018-12-05 14:44:23 +00:00
Dave Page
be47390baf
Fix the Docker build.
2018-10-29 11:01:47 +00:00
Dave Page
a2258c83e9
Chance an update to Node 8. Let's see how Jenkins likes this.
2018-09-14 17:04:51 +01:00
Dave Page
2860e82c63
Fix Gunicorn binding for IPv4.
2018-05-31 10:57:09 -04:00
Dave Page
6719ff141b
Correct package name
2018-05-31 10:49:30 -04:00
Dave Page
4372dd051e
Include libffi-devel in the Docker build.
2018-05-31 10:48:32 -04:00
Dave Page
eec9714191
Bind the container server to ipv6 as well as ipv4 ports. Fixes #3392
2018-05-31 10:27:23 -04:00
Dave Page
b00931407e
Fix failed yarn changes
2018-05-30 16:53:03 -04:00
Dave Page
bea176a646
Fix failed yarn changes
2018-05-30 16:52:54 -04:00
Dave Page
6a28b9ff26
Revert failed Yarn changes.
2018-05-30 16:52:37 -04:00
Dave Page
8bda4e0230
Remove duplicate options
2018-05-30 16:48:23 -04:00
Dave Page
189e307671
Fix syntax
2018-05-30 16:42:09 -04:00
Dave Page
b2d4c6ef9d
Disable emojis in Yarn output.
2018-05-30 16:34:47 -04:00
Максим Кольцов
05e2e3cb39
Update container build to use Alpine Linux and Gunicorn instead of CentOS and Apache. Fixes #3246
...
This results in a much more slim-line container, requiring fewer resources to run.
In addition, the majority of the build is now done using the Docker infrastructure, allowing for quicker rebuilds and better use of layers.
2018-04-04 16:18:17 +01:00
Dave Page
7192a2b675
Rewrite the runtime as a tray-based server which can launch a web browser. Fixes #3086
2018-02-05 15:32:14 +00:00
Magnus Hagander
601a7b1a5c
Fix typo
2018-01-12 12:43:48 +00:00
Dave Page
8b3aecd137
Don't listen on port 443 if TLS is not enabled when launching the container. Fixes #2998
2018-01-11 15:04:11 +00:00
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Mark Deneen
3289a18a1a
Remove any Apache HTTPD PID file before starting the container, to prevent failures during restart.
2018-01-03 12:54:52 +00:00
Dave Page
3b7656b3d5
Push HTTPD logs to container stdout/stderr as appropriate. Fixes #2920
2017-12-05 14:23:35 +09:00
Dave Page
cf1440f41d
Properly set the hostname for SSL use in containers.
2017-11-16 09:54:44 +00:00
Dave Page
a2c4fb02bc
Show how the config/storage directory can be mounted on the host under docker.
2017-10-16 16:10:15 +01:00