Skip to main content

Configuration setup for sentry

Project description

The autoguard project is mostly a configuration setup for sentry.

It provides a standardized, easily configurable setup for that project.

Usage

The autoguard configuration can be tuned in a few ways:

  • Specific environment variables (starting with AUTOGUARD_)

  • Reading from /etc/autoguard/settings.ini

  • On a dev checkout, reading from /path/to/autoguard_checkout/local_settings.ini

All options are described in example_settings.ini file.

Security

Autoguard expects to run behind a HTTPS reverse proxy; that proxy MUST set the X-Forwarded-Proto HTTP header to https for HTTPS requests.

Setup

Run the following commands:

$ autoguard upgrade
$ autoguard createsuperuser
$ autoguard repair --owner=<superuser>
$ autoguard start

The autoguard command is equivalent to sentry –config=./autoguard/sentry_conf.py.

Docker image

$ docker build -t <image_name> .  # Build the base image
$ # Add configuration (e.g. settings.ini file)
$ docker run -rm -t -i <image_name> /app/venv/bin/autoguard upgrade  # upgrade database
$ docker run -rm -t -i <image_name> /app/venv/bin/autoguard createsuperuser  # only the first time
$ docker run -rm -t -i <image_name> /app/venv/bin/autoguard repair --owner=<superuser>  # only the first time
$ docker run -p <host_port>:9000 --name <instance_name> -d <image_name>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoguard-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file autoguard-0.1.0.tar.gz.

File metadata

  • Download URL: autoguard-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for autoguard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a452645cedf50449fc3c6a4a1516dcabf3ee5ada8c751569533f84c48290b04
MD5 ee4a21c1deb11fbe8889ef3734e20c6c
BLAKE2b-256 2de474e3e4735b90f3da04d70fe410e6245e4ab547d96a69230a0ccf2707238a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page