forked from 0x2620/pandora
use code.0x2620.org as container registry everywhere
This commit is contained in:
parent
5ffcdda762
commit
ecfdee6298
3 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM 0x2620/pandora-base:latest
|
FROM code.0x2620.org/0x2620/pandora-base:latest
|
||||||
|
|
||||||
LABEL maintainer="0x2620@0x2620.org"
|
LABEL maintainer="0x2620@0x2620.org"
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ if [ "$action" = "tasks" ]; then
|
||||||
-A app worker \
|
-A app worker \
|
||||||
-Q default,celery -n ${name} \
|
-Q default,celery -n ${name} \
|
||||||
--pidfile /run/pandora/tasks.pid \
|
--pidfile /run/pandora/tasks.pid \
|
||||||
--maxtasksperchild 1000 \
|
--max-tasks-per-child 1000 \
|
||||||
-l INFO
|
-l INFO
|
||||||
fi
|
fi
|
||||||
if [ "$action" = "cron" ]; then
|
if [ "$action" = "cron" ]; then
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
docker run code.0x2620.org/0x2620/pandora docker-compose.yml > docker-compose.yml
|
docker run --rm code.0x2620.org/0x2620/pandora docker-compose.yml > docker-compose.yml
|
||||||
if [ ! -e .env ]; then
|
if [ ! -e .env ]; then
|
||||||
docker run code.0x2620.org/0x2620/pandora .env > .env
|
docker run --rm code.0x2620.org/0x2620/pandora .env > .env
|
||||||
echo .env >> .gitignore
|
echo .env >> .gitignore
|
||||||
fi
|
fi
|
||||||
if [ ! -e config.jsonc ]; then
|
if [ ! -e config.jsonc ]; then
|
||||||
docker run code.0x2620.org/0x2620/pandora config.jsonc > config.jsonc
|
docker run --rm code.0x2620.org/0x2620/pandora config.jsonc > config.jsonc
|
||||||
fi
|
fi
|
||||||
cat > README.md << EOF
|
cat > README.md << EOF
|
||||||
pan.do/ra docker instance
|
pan.do/ra docker instance
|
||||||
|
|
||||||
this folder was created with
|
this folder was created with
|
||||||
|
|
||||||
docker run code.0x2620.org/0x2620/pandora setup | sh
|
docker run --rm code.0x2620.org/0x2620/pandora setup | sh
|
||||||
|
|
||||||
To start pan.do/ra adjust the files in this folder:
|
To start pan.do/ra adjust the files in this folder:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue