Compare commits

..

2 commits

Author SHA1 Message Date
j
9b2fbe2e3f docker-compose -> docker compose 2024-01-08 12:10:13 +01:00
j
ecfdee6298 use code.0x2620.org as container registry everywhere 2024-01-07 22:49:03 +01:00
3 changed files with 12 additions and 9 deletions

View file

@ -1,4 +1,4 @@
FROM 0x2620/pandora-base:latest
FROM code.0x2620.org/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 \
--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

View file

@ -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