Skip to content

Commit

Permalink
Merge pull request #100 from wafflestudio/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
yeonsumia authored Aug 19, 2022
2 parents 473460a + 7c69777 commit 5f68f44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ services:
- ./nginx/certificate:/etc/letsencrypt/live/api-feelin.kro.kr
depends_on:
- application

volumes:
database:
4 changes: 2 additions & 2 deletions scripts/deploy/runDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
if [ "$DEPLOYMENT_GROUP_NAME" == "dev" ]
then
# Remove any anonymous volumes attached to containers (-v)
sudo docker-compose -f ~/deploy/docker-compose.yml rm -v
# sudo docker-compose -f ~/deploy/docker-compose.yml rm -v
# Recreate anonymous volumes instead of retrieving data from the previous containers (--renew-anon-volumes)
sudo docker-compose -f ~/deploy/docker-compose.yml up -d --renew-anon-volumes
sudo docker-compose -f ~/deploy/docker-compose.yml up -d
# build images and run containers
echo "[Deploy] : Running new Application"
fi

0 comments on commit 5f68f44

Please sign in to comment.