docker: bugfix wrong image on postgres's devicehub

This commit is contained in:
pedro 2024-04-03 13:29:55 +02:00
parent b0b160f088
commit 74501a4a10
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ devicehub_build:
postgres_build: postgres_build:
# thanks src https://stackoverflow.com/questions/1789594/how-do-i-write-the-cd-command-in-a-makefile # thanks src https://stackoverflow.com/questions/1789594/how-do-i-write-the-cd-command-in-a-makefile
cd devicehub-teal; \ cd devicehub-teal; \
docker build -f docker/postgres.Dockerfile -t ${postgres_image} -t ${project}/postgres:latest . docker build -f docker/postgres.Dockerfile -t ${postgres_image} -t ${project}/postgres-dh:latest .
docker_build: docker_build:
docker build -f docker/orchestra.Dockerfile -t ${orchestra_image} -t ${project}/orchestra:latest . docker build -f docker/orchestra.Dockerfile -t ${orchestra_image} -t ${project}/orchestra:latest .

View File

@ -95,7 +95,7 @@ services:
- devicehub:/opt/devicehub:rw - devicehub:/opt/devicehub:rw
postgres-dh: postgres-dh:
image: dkr-dsg.ac.upc.edu/ereuse/postgres:latest image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/postgres-dh:latest
# 4. To create the database. # 4. To create the database.
# 5. Give permissions to the corresponding users in the database. # 5. Give permissions to the corresponding users in the database.
# extra src https://github.com/docker-library/docs/blob/master/postgres/README.md#environment-variables # extra src https://github.com/docker-library/docs/blob/master/postgres/README.md#environment-variables