docker: bugfix wrong image on postgres's devicehub
This commit is contained in:
parent
b0b160f088
commit
74501a4a10
2
Makefile
2
Makefile
|
@ -68,7 +68,7 @@ devicehub_build:
|
|||
postgres_build:
|
||||
# thanks src https://stackoverflow.com/questions/1789594/how-do-i-write-the-cd-command-in-a-makefile
|
||||
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 -f docker/orchestra.Dockerfile -t ${orchestra_image} -t ${project}/orchestra:latest .
|
||||
|
|
|
@ -95,7 +95,7 @@ services:
|
|||
- devicehub:/opt/devicehub:rw
|
||||
|
||||
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.
|
||||
# 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
|
||||
|
|
Reference in a new issue