mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
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.
This commit is contained in:
parent
89f8ecb4a5
commit
e2d527ec67
@ -3,8 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
# (Recommended) replace "latest" with specific version
|
||||
image: postgres:latest
|
||||
image: docker.io/library/postgres:16.2
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
|
Loading…
Reference in New Issue
Block a user