fix celery docker setup
This commit is contained in:
parent
037be04549
commit
5ffcdda762
3 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ else
|
|||
proxy=
|
||||
fi
|
||||
|
||||
docker build $proxy -t 0x2620/pandora-base base
|
||||
docker build -t 0x2620/pandora-nginx nginx
|
||||
docker build $proxy -t code.0x2620.org/0x2620/pandora-base base
|
||||
docker build -t code.0x2620.org/0x2620/pandora-nginx nginx
|
||||
cd ..
|
||||
docker build -t 0x2620/pandora .
|
||||
docker build -t code.0x2620.org/0x2620/pandora .
|
||||
|
|
|
@ -52,7 +52,7 @@ if [ "$action" = "encoding" ]; then
|
|||
-A app worker \
|
||||
-Q encoding -n ${name} \
|
||||
--pidfile /run/pandora/encoding.pid \
|
||||
--maxtasksperchild 500 \
|
||||
--max-tasks-per-child 500 \
|
||||
-c 1 \
|
||||
-l INFO
|
||||
fi
|
||||
|
|
|
@ -7,6 +7,6 @@ git clone https://code.0x2620.org/0x2620/pandora
|
|||
cd pandora
|
||||
./docker/build.sh
|
||||
|
||||
docker push 0x2620/pandora-base:latest code.0x2620.org/0x2620/pandora-base:latest
|
||||
docker push 0x2620/pandora-nginx:latest code.0x2620.org/0x2620/pandora-nginx:latest
|
||||
docker push 0x2620/pandora:latest code.0x2620.org/0x2620/pandora:latest
|
||||
docker push code.0x2620.org/0x2620/pandora-base:latest
|
||||
docker push code.0x2620.org/0x2620/pandora-nginx:latest
|
||||
docker push code.0x2620.org/0x2620/pandora:latest
|
||||
|
|
Loading…
Reference in a new issue