docker: hassle-free DB bootstrap

While it is recommended to use `POSTGRES_PASSWORD`, I think it's good when we
can bring MSF up with minimum effort from scratch.

It shouldn't be an issue from the security point of view having the DB running
in a docker container with the 5432/tcp port available only to the MSF.
This commit is contained in:
Andrey Arapov 2021-01-08 16:20:09 +01:00
parent 25aecc8bb3
commit b641e25b6d
No known key found for this signature in database
GPG Key ID: 9076D5E6B31AE99C
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ services:
image: postgres:10-alpine
volumes:
- pg_data:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
pg_data: