Skip to content

Commit

Permalink
Ajusta localização docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardoliveira committed Aug 4, 2022
1 parent e1a3654 commit 7f380a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ services:
networks:
- sapl-net
sapl:
# image: interlegis/sapl:3.1.162-RC13
build:
context: ../
dockerfile: ./docker/Dockerfile
image: interlegis/sapl:3.1.163-RC2
# build:
# context: ../
# dockerfile: ./docker/Dockerfile
container_name: sapl
labels:
NAME: "sapl"
Expand Down Expand Up @@ -74,4 +74,4 @@ volumes:
sapl_data:
sapl_media:
solr_data:
solr_configsets:
solr_configsets:
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ FINAL_VERSION=

function change_files {

OLD_VERSION=$(grep -E 'interlegis/sapl:'$VERSION_PATTERN dist/docker-compose.yml | cut -d':' -f3)
OLD_VERSION=$(grep -E 'interlegis/sapl:'$VERSION_PATTERN docker/docker-compose.yaml | cut -d':' -f3)

echo "Atualizando de "$OLD_VERSION" para "$FINAL_VERSION

sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" dist/docker-compose.yml
sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" docker/docker-compose.yaml

sed -E -i "" "s|$OLD_VERSION|$FINAL_VERSION|g" setup.py

Expand Down

0 comments on commit 7f380a6

Please sign in to comment.