Skip to content

Commit

Permalink
switch nginx image
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Mar 25, 2018
1 parent b773670 commit 37292bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions deploy/deploy-js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ echo "==========================================================================
echo "copying js files to machine..."

docker-machine scp -r -d js/build/ $DOCKER_MACHINE_NAME:/home/ubuntu/js-src/

echo ""
echo "================================================================================"
echo "restarting nginx..."
docker-compose $(docker-machine config $DOCKER_MACHINE_NAME) restart nginx
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
dockerfile: Dockerfile.backend

nginx:
image: nginx:1.13-alpine
image: samuelcolvin/nginx:1.13-alpine
volumes:
- ./nginx/dev/:/etc/nginx/conf.d/:ro
- ./js/build/:/js-src/:ro
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
image: samuelcolvin/mithra_web:latest

nginx:
image: nginx:1.13-alpine
image: samuelcolvin/nginx:1.13-alpine
volumes:
- /home/ubuntu/nginx-conf/:/etc/nginx/conf.d/:ro
- /home/ubuntu/js-src/:/js-src/:ro
Expand Down

0 comments on commit 37292bf

Please sign in to comment.