Skip to content

Commit 38ddcf2

Browse files
mihowDebian
authored andcommitted
Begin configuring staging environment
1 parent 266a6d8 commit 38ddcf2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

config/settings/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
# Anymail
122122
# ------------------------------------------------------------------------------
123123
# https://anymail.readthedocs.io/en/stable/installation/#installing-anymail
124-
INSTALLED_APPS += ["anymail"] # noqa: F405
124+
# INSTALLED_APPS += ["anymail"] # noqa: F405
125125
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
126126
# https://anymail.readthedocs.io/en/stable/installation/#anymail-settings-reference
127127
# https://anymail.readthedocs.io/en/stable/esps/mailgun/

requirements/base.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ boto3==1.28
1414
rich==13.5
1515
pydantic<2.0 # Less than 2.0 because of django pydantic field
1616
django-pydantic-field==0.2.11
17+
sentry_sdk==1.39.2
1718

1819
# Django
1920
# ------------------------------------------------------------------------------

staging.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ version: "3"
22

33
volumes:
44
ami_local_postgres_data: {}
5-
ami_local_postgres_data_backups: {}
5+
ami_local_postgres_data_backups:
6+
driver: local
7+
driver_opts:
8+
type: none
9+
device: ./backups/postgres
10+
o: bind
611

712
services:
813
django: &django
@@ -20,7 +25,7 @@ services:
2025
volumes:
2126
- .:/app:z
2227
env_file:
23-
- ./.envs/.local/.django
28+
- ./.envs/.production/.django
2429
- ./.envs/.local/.postgres
2530
ports:
2631
- '8080:8000'

0 commit comments

Comments
 (0)