Skip to content

Commit 307a0bc

Browse files
committed
Move project name to env
1 parent 95db82e commit 307a0bc

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
@@ -111,13 +111,13 @@ addDatabaseIndex () {
111111
startContainers () {
112112
echo ""
113113
export IDM_HTTPS_ENABLED="$1"
114-
docker compose -p fiware up -d --remove-orphans
114+
docker-compose up -d --remove-orphans
115115
echo ""
116116
}
117117

118118
stoppingContainers () {
119119
echo "Stopping running containers"
120-
docker compose -p fiware down -v --remove-orphans
120+
docker-compose down -v --remove-orphans
121121
}
122122

123123
command="$1"
@@ -150,7 +150,7 @@ case "${command}" in
150150
export $(cat .env | grep "#" -v)
151151
echo "Pulling Docker images"
152152
docker pull curlimages/curl
153-
docker compose -p fiware pull
153+
docker-compose pull
154154
;;
155155
*)
156156
echo "Command not Found."

0 commit comments

Comments
 (0)