mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-08-09 15:15:17 +02: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:
@ -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}
|
||||
|
Reference in New Issue
Block a user