Fix grep and some docker commands
This commit is contained in:
parent
0e2ec4a9d1
commit
b3b3c9989c
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user