generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
python manage.py migrate --noinput
|
||||
python manage.py collectstatic --noinput
|
||||
exec gunicorn config.wsgi:application \
|
||||
--bind 0.0.0.0:8000 \
|
||||
--workers 4 \
|
||||
--worker-class gthread \
|
||||
--threads 2 \
|
||||
--timeout 120 \
|
||||
--access-logfile - \
|
||||
--error-logfile -
|
||||
@@ -0,0 +1,9 @@
|
||||
-- LabGraph PostgreSQL initialization script.
|
||||
-- Runs once when the postgres volume is first created (via docker-entrypoint-initdb.d).
|
||||
-- Must execute before Django migrations.
|
||||
|
||||
-- uuid_generate_v4() used as default for all UUIDField primary keys
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
|
||||
-- GIN index support for fuzzy text search on Node.label
|
||||
CREATE EXTENSION IF NOT EXISTS "pg_trgm";
|
||||
Reference in New Issue
Block a user