Commit Graph

18 Commits

Author SHA1 Message Date
renovate[bot]
ea5e248c03
chore(deps): update docker.io/library/postgres docker tag to v16.4 2024-08-08 21:52:35 +00:00
Leon Windler
48a52ed15c
Rename docker-compose.yaml to compose.yaml 2024-07-12 22:57:23 +02:00
renovate[bot]
578fc7fe33
chore(deps): update docker.io/library/postgres docker tag to v16.3 2024-05-10 00:26:30 +00:00
Christoph Schug
e01fc90b2c feat: always reference the full image name incl. the registry 2024-03-27 23:13:41 +01:00
Christian Lempa
6c3b88fb95 updated gitignore 2024-03-26 12:06:37 +01:00
Christian Lempa
3d4f62f1c4 formatting updates 2024-03-26 11:59:45 +01:00
Christoph Schug
b37a709672 fix: remove Compose version specification 2024-03-06 21:34:33 +01:00
Christoph Schug
10ae69e17a feat: add container health check 2024-03-06 21:33:39 +01:00
Christoph Schug
911fcc61eb feat: interpolate name of user and database
Unless explicitely set, the database name is nevertheless derived from
the user by the image's entrypoint, but we can make this more obvious by
defining a interpolation here.
2024-03-06 21:33:39 +01:00
Christoph Schug
ce2caf7c8f feat: allow custom timezone, defaulting to UTC 2024-03-06 21:33:39 +01:00
Christoph Schug
16a628e111 feat: allow custom host authentication method 2024-03-06 21:33:39 +01:00
Christoph Schug
89dd1f5a08 feat: default to use data checksums in PostgreSQL
There is little reason not to use PostgreSQL data checksums [1] and they
can greatly help to ensure data integrity.

[1] https://www.postgresql.org/docs/current/checksums.html
2024-03-06 21:33:39 +01:00
Christoph Schug
edf466c7c9 feat: use Docker secrets for password
Using environment variables for secret data like passwords is an
anti-pattern as they can easily leak. It's much safer to maintain the
data as a file. To prevent accidental commits of the password file, we
are adding a `.gitignore` file.
2024-03-06 21:33:39 +01:00
Christoph Schug
bb84e13b9a feat: give additional information on custom networking 2024-03-06 21:33:39 +01:00
Christoph Schug
e2d527ec67 feat: use the latest PostgreSQL release as named version
Using the `latest` tag is bad practice.

Also reference the full path of the container image including its
container registry as for example Podman Compose doesn't default to
Docker Hub.
2024-03-06 21:33:39 +01:00
Christoph Schug
89f8ecb4a5 feat: use the local volume storage driver by default 2024-03-06 21:33:39 +01:00
Christoph Schug
591ec21010 fix: use version 3.8 of the Docker Compose specification
See also the Compose and Docker compatibility matrix [1].

While at it, reorder top-level configuration elements and
separate each by a blank line to enhance readability.

[1] https://docs.docker.com/compose/compose-file/compose-file-v3/#compose-and-docker-compatibility-matrix
2024-03-06 21:33:39 +01:00
Christian Lempa
3b31d590b8 updated postgres and mariadb compose 2023-12-11 14:57:49 +01:00