Compare commits
2 commits
5ffcdda762
...
9b2fbe2e3f
Author | SHA1 | Date | |
---|---|---|---|
9b2fbe2e3f | |||
ecfdee6298 |
3 changed files with 12 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM 0x2620/pandora-base:latest
|
||||
FROM code.0x2620.org/0x2620/pandora-base:latest
|
||||
|
||||
LABEL maintainer="0x2620@0x2620.org"
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ if [ "$action" = "tasks" ]; then
|
|||
-A app worker \
|
||||
-Q default,celery -n ${name} \
|
||||
--pidfile /run/pandora/tasks.pid \
|
||||
--maxtasksperchild 1000 \
|
||||
--max-tasks-per-child 1000 \
|
||||
-l INFO
|
||||
fi
|
||||
if [ "$action" = "cron" ]; then
|
||||
|
@ -131,5 +131,5 @@ echo " docker run 0x2620/pandora setup | sh"
|
|||
echo
|
||||
echo adjust created files to match your needs and run:
|
||||
echo
|
||||
echo " docker-compose up"
|
||||
echo " docker compose up"
|
||||
echo
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
#!/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
|
||||
docker run code.0x2620.org/0x2620/pandora .env > .env
|
||||
docker run --rm code.0x2620.org/0x2620/pandora .env > .env
|
||||
echo .env >> .gitignore
|
||||
fi
|
||||
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
|
||||
cat > README.md << EOF
|
||||
pan.do/ra docker instance
|
||||
|
||||
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:
|
||||
|
||||
|
@ -22,11 +22,14 @@ To start pan.do/ra adjust the files in this folder:
|
|||
|
||||
and to get started run this:
|
||||
|
||||
docker-compose up -d
|
||||
docker compose up -d
|
||||
|
||||
To update pan.do/ra run:
|
||||
|
||||
docker-compose run pandora ctl update
|
||||
docker compose run --rm pandora ctl update
|
||||
|
||||
To run pan.do/ra manage shell:
|
||||
|
||||
docker compose run --rm pandora ctl manage shell
|
||||
EOF
|
||||
touch __init__.py
|
||||
|
|
Loading…
Reference in a new issue