Compare commits

..

No commits in common. "9b2fbe2e3f3783ed3fdc4d7b1394a8398cc227d3" and "5ffcdda762ae4a49658bb55ae258371d473ce6e8" have entirely different histories.

3 changed files with 9 additions and 12 deletions

View file

@ -1,4 +1,4 @@
FROM code.0x2620.org/0x2620/pandora-base:latest
FROM 0x2620/pandora-base:latest
LABEL maintainer="0x2620@0x2620.org"

View file

@ -66,7 +66,7 @@ if [ "$action" = "tasks" ]; then
-A app worker \
-Q default,celery -n ${name} \
--pidfile /run/pandora/tasks.pid \
--max-tasks-per-child 1000 \
--maxtasksperchild 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

View file

@ -1,18 +1,18 @@
#!/bin/sh
docker run --rm code.0x2620.org/0x2620/pandora docker-compose.yml > docker-compose.yml
docker run code.0x2620.org/0x2620/pandora docker-compose.yml > docker-compose.yml
if [ ! -e .env ]; then
docker run --rm code.0x2620.org/0x2620/pandora .env > .env
docker run code.0x2620.org/0x2620/pandora .env > .env
echo .env >> .gitignore
fi
if [ ! -e config.jsonc ]; then
docker run --rm code.0x2620.org/0x2620/pandora config.jsonc > config.jsonc
docker run 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 --rm code.0x2620.org/0x2620/pandora setup | sh
docker run code.0x2620.org/0x2620/pandora setup | sh
To start pan.do/ra adjust the files in this folder:
@ -22,14 +22,11 @@ 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 --rm pandora ctl update
docker-compose run pandora ctl update
To run pan.do/ra manage shell:
docker compose run --rm pandora ctl manage shell
EOF
touch __init__.py