Closed janeeisenstein closed 3 years ago
Adding a docker-compose settings file wasn't enough to support running in Docker. Was able to run migrations and create simpl users by running export DJANGO_SETTINGS_MODULE=config.settings.compose
in the simpl-games-api shell.
However, subsequent docker-compose up runs error out with:
api_1 | psycopg2.OperationalError: could not connect to server: No such file or directory
api_1 | Is the server running locally and accepting
api_1 | connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Decided to back off this effort until we can agree on goals.
Makes local DATABASES settings non-Docker specific.