Skip to content

Commit

Permalink
Begin configuring staging environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mihow authored and Debian committed Jan 29, 2024
1 parent 266a6d8 commit 38ddcf2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
# Anymail
# ------------------------------------------------------------------------------
# https://anymail.readthedocs.io/en/stable/installation/#installing-anymail
INSTALLED_APPS += ["anymail"] # noqa: F405
# INSTALLED_APPS += ["anymail"] # noqa: F405
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
# https://anymail.readthedocs.io/en/stable/installation/#anymail-settings-reference
# https://anymail.readthedocs.io/en/stable/esps/mailgun/
Expand Down
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ boto3==1.28
rich==13.5
pydantic<2.0 # Less than 2.0 because of django pydantic field
django-pydantic-field==0.2.11
sentry_sdk==1.39.2

# Django
# ------------------------------------------------------------------------------
Expand Down
9 changes: 7 additions & 2 deletions staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ version: "3"

volumes:
ami_local_postgres_data: {}
ami_local_postgres_data_backups: {}
ami_local_postgres_data_backups:
driver: local
driver_opts:
type: none
device: ./backups/postgres
o: bind

services:
django: &django
Expand All @@ -20,7 +25,7 @@ services:
volumes:
- .:/app:z
env_file:
- ./.envs/.local/.django
- ./.envs/.production/.django
- ./.envs/.local/.postgres
ports:
- '8080:8000'
Expand Down

0 comments on commit 38ddcf2

Please sign in to comment.