pandora/docker/setup-docker-compose.sh

33 lines
712 B
Bash
Raw Normal View History

2019-07-06 16:12:32 +00:00
#!/bin/sh
docker run 0x2620/pandora docker-compose.yml > docker-compose.yml
if [ ! -e .env ]; then
docker run 0x2620/pandora .env > .env
echo .env >> .gitignore
fi
if [ ! -e config.jsonc ]; then
docker run 0x2620/pandora config.jsonc > config.jsonc
fi
cat > README.md << EOF
pan.do/ra docker instance
this folder was created with
docker run 0x2620/pandora setup | sh
To start pan.do/ra adjust the files in this folder:
- add email configuration to .env
- adjust config.jsonc to customize pan.do/ra
- add local django settings to settings.py
and to get started run this:
docker-compose up -d
To update pan.do/ra run:
2020-09-27 15:53:37 +00:00
docker-compose run pandora ctl update
2019-07-06 16:12:32 +00:00
EOF
touch __init__.py