Skip to content

Commit

Permalink
chore: Remove leftover AWS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara committed Jun 28, 2023
1 parent 732293e commit fd6d293
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 135 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ COPY --from=frontend /app/ /app/

ARG VERSION=dev
ENV APPLICATION_VERSION=${VERSION}
ENV DJANGO_SETTINGS_MODULE ietf.settings.docker.hosting
ENV DJANGO_SETTINGS_MODULE ietf.settings.base
ENV VERSION=${VERSION}
ENV ENVIRONMENT unknown
ENV PROJECT wagtail_website
Expand All @@ -83,7 +83,7 @@ CMD ["/usr/local/bin/gunicorn", "--config", "/app/docker/gunicorn.py", "ietf.wsg
# ---------------------------------------------------------------------
# development stage
FROM base as app-dev
ENV DJANGO_SETTINGS_MODULE ietf.settings.docker.dev
ENV DJANGO_SETTINGS_MODULE ietf.settings.dev
COPY docker/init-dev.sh /app/docker/

ADD https://raw.githubusercontent.com/mrako/wait-for/d9699cb9fe8a4622f05c4ee32adf2fd93239d005/wait-for /usr/local/bin/
Expand All @@ -101,7 +101,7 @@ CMD ["/app/docker/init-dev.sh"]
# ---------------------------------------------------------------------
# test stage
FROM base as app-test
ENV DJANGO_SETTINGS_MODULE ietf.settings.docker.dev
ENV DJANGO_SETTINGS_MODULE ietf.settings.dev
COPY docker/init-test.sh /app/docker/

ADD https://raw.githubusercontent.com/mrako/wait-for/d9699cb9fe8a4622f05c4ee32adf2fd93239d005/wait-for /usr/local/bin/
Expand Down
1 change: 1 addition & 0 deletions ietf/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@


EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
CACHE_MIDDLEWARE_ALIAS = "dummy"

# Process all tasks synchronously.
# Helpful for local development and running tests
Expand Down
32 changes: 0 additions & 32 deletions ietf/settings/docker/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions ietf/settings/docker/base.py

This file was deleted.

4 changes: 0 additions & 4 deletions ietf/settings/docker/dev.py

This file was deleted.

49 changes: 0 additions & 49 deletions ietf/settings/docker/grains/aws.py

This file was deleted.

5 changes: 0 additions & 5 deletions ietf/settings/docker/grains/database.py

This file was deleted.

32 changes: 0 additions & 32 deletions ietf/settings/docker/grains/logging.py

This file was deleted.

6 changes: 0 additions & 6 deletions ietf/settings/docker/hosting.py

This file was deleted.

0 comments on commit fd6d293

Please sign in to comment.