Skip to content

Commit b52a5dc

Browse files
authored
Merge pull request #90 from naturalsolutions/feat/make-geonature-images-configurable-in-prod
Feat/make geonature images configurable in prod
2 parents 8f9f445 + 29b99a9 commit b52a5dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

essential.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
<<: *backend-env
2626
ports:
2727
- 8000:8000
28-
image: ghcr.io/pnx-si/geonature-backend-extra:2.16.2
28+
image: ${GEONATURE_BACKEND_EXTRA_IMAGE:-ghcr.io/pnx-si/geonature-backend-extra:2.16.2}
2929
volumes:
3030
- ${GEONATURE_CONFIG_DIR:-./config}/geonature:/dist/config
3131
- ${GEONATURE_DATA_DIR:-./data}/geonature/media:${GEONATURE_MEDIA_FOLDER:-/dist/media}
@@ -49,7 +49,7 @@ services:
4949
- gn
5050

5151
geonature-frontend:
52-
image: ghcr.io/pnx-si/geonature-frontend-extra:2.16.2
52+
image: ${GEONATURE_FRONTEND_EXTRA_IMAGE:-ghcr.io/pnx-si/geonature-frontend-extra:2.16.2}
5353
ports:
5454
- 80:80
5555
environment:
@@ -70,7 +70,7 @@ services:
7070
- gn
7171

7272
geonature-worker:
73-
image: ghcr.io/pnx-si/geonature-backend-extra:2.16.2
73+
image: ${GEONATURE_BACKEND_EXTRA_IMAGE:-ghcr.io/pnx-si/geonature-backend-extra:2.16.2}
7474
user: ${DOCKER_UID}:${DOCKER_GID}
7575
environment:
7676
<<: *backend-env
@@ -84,7 +84,7 @@ services:
8484
- gn
8585

8686
geonature-install-db:
87-
image: ghcr.io/pnx-si/geonature-backend-extra:2.16.2
87+
image: ${GEONATURE_BACKEND_EXTRA_IMAGE:-ghcr.io/pnx-si/geonature-backend-extra:2.16.2}
8888
user: ${DOCKER_UID}:${DOCKER_GID}
8989
profiles:
9090
- db
@@ -141,7 +141,7 @@ services:
141141

142142
usershub:
143143
<<: [*restart-policy]
144-
image: ghcr.io/pnx-si/usershub:2.4.7
144+
image: ${USERSHUB_IMAGE:-ghcr.io/pnx-si/usershub:2.4.7}
145145
profiles:
146146
- usershub
147147
entrypoint: ["/entrypoint.sh"]

0 commit comments

Comments
 (0)