diff options
author | Daniel Manrique <daniel.manrique@canonical.com> | 2022-08-15 15:47:23 +0000 |
---|---|---|
committer | Ubuntu One Auto Copilot <otto-copilot@canonical.com> | 2022-08-15 15:47:23 +0000 |
commit | 72857ea69d94515533d594ddc82bae14a2004c3b (patch) | |
tree | bc7c45af26f7ba0471a211f4d4e236dbd064b387 | |
parent | fb103240556f530c8ffd756acfc48ceb8babb8a5 (diff) | |
parent | 6bc347bbdffd67d3289d122a95809a23374e708a (diff) |
Explicitly set postgres's password policy.
This used to be implicit up to sometime in 2020, but since then it is required to either set a password or indicate the policy to be "trust" so anyone can connect. Setting the password explicitly is more secure but needs more changes/ work, and since we were not using a password before, and this is for an ephemeral or local unexposed container, it seems reasonable to use "trust" to unblock merges and work on this project. Merged from https://code.launchpad.net/~roadmr/isitdeployable/postgres-password-change/+merge/428315
-rw-r--r-- | docker-compose.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 4e79ab8..926325e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,8 @@ version: '2' services: db: image: postgres + environment: + POSTGRES_HOST_AUTH_METHOD: "trust" amqp: image: rabbitmq |