Browse Source

use compose project name in deploy, add push script

pull/1/head
thehuntedpie 7 years ago
parent
commit
0141b8f12d
  1. 4
      deploy.sh
  2. 2
      push.sh

4
deploy.sh

@ -1,3 +1,7 @@
#!/bin/bash
# COMPOSE_PROJECT_NAME should be a unique string for this deployment. Otherwise, if you run multiple deployments, docker-compose down may take down a previous deployment with the same COMPOSE_PROJECT_NAME or parent folder name
COMPOSE_PROJECT_NAME=mindustry-server
docker-compose down
docker-compose up -d

2
push.sh

@ -0,0 +1,2 @@
#!/bin/bash
docker-compose -f docker-compose.build.yml push mindustry
Loading…
Cancel
Save