diff --git a/envs/.env.osmcha.example b/envs/.env.osmcha.example index b54bc9b6..7ba0ad42 100644 --- a/envs/.env.osmcha.example +++ b/envs/.env.osmcha.example @@ -1,5 +1,15 @@ -# POSTGRES_HOST=osmcha-db -PGHOST=osmcha-db POSTGRES_DB=osmcha POSTGRES_USER=postgres POSTGRES_PASSWORD=1234 +PGHOST=osmcha-db +DJANGO_DEBUG=true +DJANGO_SECRET_KEY=abc +OAUTH_OSM_KEY=xya +OAUTH_OSM_SECRET=xya +DJANGO_ANON_USER_THROTTLE_RATE=30/min +DJANGO_COMMON_USER_THROTTLE_RATE=180/min +DJANGO_NON_STAFF_USER_THROTTLE_RATE=3/min +OAUTH_REDIRECT_URI=http://localhost:8000/oauth-landing.html +OSMCHA_FRONTEND_VERSION=oh-pages +DJANGO_ENABLE_CHANGESET_COMMENTS=False +DJANGO_OSM_COMMENTS_API_KEY="" \ No newline at end of file diff --git a/images/osmcha-web/start.sh b/images/osmcha-web/start.sh index 50d654af..0055912e 100755 --- a/images/osmcha-web/start.sh +++ b/images/osmcha-web/start.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e python3 manage.py migrate -python3 manage.py runserver 0.0.0.0:8000 --nothreading --noreload +python3 manage.py runserver 0.0.0.0:8000 diff --git a/osm-seed/templates/osmcha-web/osmch-web-deployment.yaml b/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-deployment.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml diff --git a/osm-seed/templates/osmcha-web/osmch-web-ingress.yaml b/osm-seed/templates/osmcha-web/osmcha-web-ingress.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-ingress.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-ingress.yaml diff --git a/osm-seed/templates/osmcha-web/osmch-web-service.yaml b/osm-seed/templates/osmcha-web/osmcha-web-service.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-service.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-service.yaml