when launching using docker-compose script with a fresh virtual machine the installation always fails because the PG_VERSION file in the database directory always gets created and therefore the check for it in the postgres-init.sh script always returns true and therefore the illa database does not get created.
when launching using docker-compose script with a fresh virtual machine the installation always fails because the PG_VERSION file in the database directory always gets created and therefore the check for it in the postgres-init.sh script always returns true and therefore the illa database does not get created.
https://github.com/illacloud/deploy-illa-manually/blob/810347a1daa522ae7fea5c1cf60ac7dcf02e50a4/docker-compose/postgres-init.sh#L15
steps to recreate on fresh machine run:
then you can
docker exec -i -t illa-database /bin/bash -c 'su --login postgres'
and viapsql
you can see theilla
database doesn't exist.