Testing repo for running Indigo on Docker via Docker Compose:
Note, this is a work in progress, currently not working, installation succeeds, however pending some revisions.
This assumes that you have installed docker and docker-compose on a system with no external facing ip (On purpose, ideal deployment would have Docker Server hosted behind a reverse proxy).
Clone from GIT and enter:
git clone --branch v18.0.0 https://github.com/buff0k/indigo-docker
cd indigo-docker
Generate a .env using example-env
cp example-env .env
Set up the .env file with your settings:
nano .env
Edit the file to match your desired settings. Change the Variables, except DATABASE=postgres (This is currently part of the entrypoint file), to your own settings.
Deploy to Docker using Docker Compose:
docker-compose up
Once it is fully up, you can stop it with Ctrl+c, you still need to switch it to production mode.
Change the docker-compose file to production mode:
nano docker-compose.yml
Edit thie line "DJANGO_DEBUG=true" to "DJANGO_DEBUG=false"
Now start up the Indigo Containers in production mode:
docker-compose up
If you want it to run as a daemon, add the -d switch to the end of the docker-compose up command.
Configure Superuser:
docker exec -it indigo-docker_indigo_1 python /src/indigo/manage.py createsuperuser