Skip to content

Commit

Permalink
Corrige arquivos de inicialização do ambiente de desenvolvimento
Browse files Browse the repository at this point in the history
  • Loading branch information
LimaSystem committed Oct 1, 2024
1 parent b599ce8 commit c22c398
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dev/psql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CDIR=$( pwd )
cd $DIR

docker-compose exec db psql -U mapas psql -d mapas
docker compose exec db psql -U mapas psql -d mapas

cd $CDIR
2 changes: 1 addition & 1 deletion dev/shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CDIR=$( pwd )
cd $DIR

docker-compose exec mapas sh /var/www/scripts/shell.sh
docker compose exec mapas sh /var/www/scripts/shell.sh

cd $CDIR
8 changes: 4 additions & 4 deletions dev/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ esac
done

if [ $BUILD = "1" ]; then
docker-compose -f docker-compose.yml build
docker compose -f docker-compose.yml build
fi

if [ $DOWN = "1" ]; then
docker-compose -f docker-compose.yml down
docker compose -f docker-compose.yml down
fi

docker-compose -f docker-compose.yml run --service-ports mapas
docker compose -f docker-compose.yml run --service-ports mapas

docker-compose -f docker-compose.yml down
docker compose -f docker-compose.yml down
cd $CDIR

0 comments on commit c22c398

Please sign in to comment.