Skip to content

Commit 973a9e3

Browse files
authored
Merge pull request #4561 from opsmill/fac-cherrypick-docker
allow to customize infrahub docker image source
2 parents d33ad66 + f05d698 commit 973a9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ services:
146146
- 6362:6362
147147

148148
infrahub-server:
149-
image: "registry.opsmill.io/opsmill/infrahub:${VERSION:-0.16.2}"
149+
image: "${INFRAHUB_DOCKER_IMAGE:-registry.opsmill.io/opsmill/infrahub}:${VERSION:-0.16.2}"
150150
restart: unless-stopped
151151
command: >
152152
gunicorn --config backend/infrahub/serve/gunicorn_config.py
@@ -185,7 +185,7 @@ services:
185185
deploy:
186186
mode: replicated
187187
replicas: 2
188-
image: "registry.opsmill.io/opsmill/infrahub:${VERSION:-0.16.2}"
188+
image: "${INFRAHUB_DOCKER_IMAGE:-registry.opsmill.io/opsmill/infrahub}:${VERSION:-0.16.2}"
189189
command: infrahub git-agent start --debug
190190
restart: unless-stopped
191191
depends_on:

0 commit comments

Comments
 (0)