sentry token
This commit is contained in:
parent
f2593ca5b2
commit
ab75fb3a24
@ -83,6 +83,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
volumes:
|
||||
- /sprint-data/data:/usr/src/app/data
|
||||
deploy:
|
||||
@ -108,6 +109,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
@ -126,6 +128,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
@ -145,6 +148,7 @@ services:
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
volumes:
|
||||
- /sprint-data/static:/usr/src/app/static
|
||||
command: ./manage.py runserver 0.0.0.0:8000 --noreload --insecure
|
||||
@ -169,6 +173,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
command: ./manage.py runserver 0.0.0.0:7998 --noreload
|
||||
deploy:
|
||||
mode: replicated
|
||||
@ -191,6 +196,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
command: ./manage.py bot
|
||||
deploy:
|
||||
mode: replicated
|
||||
@ -213,6 +219,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
command: ./manage.py checker_cleaner
|
||||
deploy:
|
||||
mode: replicated
|
||||
@ -235,6 +242,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
volumes:
|
||||
- /tmp:/tmp
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
@ -260,6 +268,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
@ -282,6 +291,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
@ -304,6 +314,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
@ -326,6 +337,7 @@ services:
|
||||
DB_PASSWORD: $DB_PASSWORD
|
||||
DEBUG: $DEBUG
|
||||
EMAIL_PASSWORD: $EMAIL_PASSWORD
|
||||
SENTRY_TOKEN: $SENTRY_TOKEN
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
|
@ -167,7 +167,7 @@ CONSTS = {
|
||||
|
||||
if not DEBUG:
|
||||
sentry_sdk.init(
|
||||
dsn="https://bd56bba96dbe4017a792810a8be6cfc1@o1155463.ingest.sentry.io/6235928",
|
||||
dsn=f"https://{os.getenv('SENTRY_TOKEN')}@o1155463.ingest.sentry.io/6235928",
|
||||
integrations=[DjangoIntegration()],
|
||||
|
||||
# Set traces_sample_rate to 1.0 to capture 100%
|
||||
|
Loading…
Reference in New Issue
Block a user