Skip to content

Commit 04c0a73

Browse files
committed
Move project name to env
1 parent 8ce9f17 commit 04c0a73

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Project name
2+
COMPOSE_PROJECT_NAME=fiware
3+
14
# Orion variables
25
ORION_PORT=1026
36
ORION_VERSION=3.1.0

services

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ displayServices () {
3535
startContainers () {
3636
echo ""
3737
export IDM_HTTPS_ENABLED="$1"
38-
docker compose -p fiware up -d --remove-orphans
38+
docker-compose up -d --remove-orphans
3939
echo ""
4040
}
4141

4242
stoppingContainers () {
4343
echo "Stopping running containers"
44-
docker compose -p fiware down -v --remove-orphans
44+
docker-compose down -v --remove-orphans
4545
}
4646

4747
command="$1"
@@ -68,7 +68,7 @@ case "${command}" in
6868
export $(cat .env | grep "#" -v)
6969
echo "Pulling Docker images"
7070
docker pull curlimages/curl
71-
docker compose -p fiware pull
71+
docker-compose pull
7272
;;
7373
*)
7474
echo "Command not Found."

0 commit comments

Comments
 (0)