Fix grep and some docker commands

This commit is contained in:
IamTheFij 2017-04-20 01:23:59 +00:00
parent 0e2ec4a9d1
commit b3b3c9989c
1 changed files with 2 additions and 3 deletions

View File

@ -2,12 +2,11 @@
# This is used to debug and will not daemonize or restart
# To run this in production remove the `--rm` flag and replace with `-d --restart unless-stopped`
tsa_container=$(cloudron list | awk '/io.concourse.cloudron/{print $1;}')
tsa_container=$(cloudron list | awk '/ci.concourse.cloudron/{print $1;}')
tsa_hostname=$(cloudron exec --app $tsa_container env | grep HOSTNAME | sed s/.*=//)
tsa_port=$(cloudron exec --app $tsa_container env | grep TSA_PORT | sed s/.*=//)
docker run \
sudo docker run \
--rm \
--name concourse_worker \
--privileged \
--network cloudron \
--volumes-from $tsa_container \