1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

A few more deploy changes

This commit is contained in:
2015-11-20 13:01:14 +00:00
parent dd05fd7eb1
commit 424a2ffc22
3 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
app:
extends:
file: docker-compose-common.yml
service: app
links:
- db
restart: always
env_file:
- ./prod.env

View File

@@ -1,6 +1,6 @@
if [ -z "$1" ]
if [ -z "$2" ]
then
echo "usage) server-deploy-prod.sh user@server"
echo "usage) server-deploy-prod.sh user@server docker-compose-file-name.yml"
exit 1
fi
@@ -18,5 +18,5 @@ docker kill $(docker ps -q)
bash rails-prod.sh wrestlingdev
cd deploy
docker-compose -f docker-compose-prod.yml up -d
docker-compose -f ${2} up -d
'"