From 41d80d66b1506cd82415f2e25e42fbb868539a8f Mon Sep 17 00:00:00 2001 From: "Sean M. Collins" Date: Tue, 27 Dec 2022 20:00:59 +0000 Subject: [PATCH] Prepend docker.io to image URLs This is to make podman happy, since newer versions of podman have set short-name-mode to enforcing https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d3e8234..a8f3b54 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.4' services: netbox: &netbox - image: netboxcommunity/netbox:${VERSION-v3.4-2.4.0} + image: docker.io/netboxcommunity/netbox:${VERSION-v3.4-2.4.0} depends_on: - postgres - redis @@ -47,14 +47,14 @@ services: # postgres postgres: - image: postgres:15-alpine + image: docker.io/postgres:15-alpine env_file: env/postgres.env volumes: - netbox-postgres-data:/var/lib/postgresql/data # redis redis: - image: redis:7-alpine + image: docker.io/redis:7-alpine command: - sh - -c # this is to evaluate the $REDIS_PASSWORD from the env