https://github.com/bluedynamics/sentry-swarm
Run Sentry in a Docker Swarm
https://github.com/bluedynamics/sentry-swarm
Last synced: about 1 year ago
JSON representation
Run Sentry in a Docker Swarm
- Host: GitHub
- URL: https://github.com/bluedynamics/sentry-swarm
- Owner: bluedynamics
- License: apache-2.0
- Created: 2022-06-27T16:12:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T20:55:45.000Z (almost 4 years ago)
- Last Synced: 2025-02-03T18:38:37.614Z (over 1 year ago)
- Language: Shell
- Size: 31.3 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sentry in a Docker Swarm
An inofficial bootstrap for running [Sentry](https://sentry.io/) with [Docker](https://www.docker.com/) in a Docker Swarm, like self hosted.
## Requirements
* Docker 20.10.16+ (tested)
* 2 CPU Cores (better 4)
* ~8 GB RAM
* ~20 GB Free Disk Space
## Preparation
### GeoIP
1. In order to use the Maxmind GeoIP feature they must create a file named `config/GeoIP.conf` following the procedures as described here (free):
https://dev.maxmind.com/geoip/updating-databases?lang=en
2. (TODO) Copy initial DB
### Relay Configuration
Copy `config/relay.example.yml` as `config/relay.yml` and change if needed (usually not necessary).
### Symbolicator Configuration
Copy `config/symbolicator.example.yml` as `config/symbolicator.yml` and change if needed (usually not necessary).
### Clickhouse Configuration
Copy `config/clickhosue.example.xml` as `config/clickhosue.xml` and change if needed (usually not necessary).
### Set environment
Edit the `.env` file and adopt it to your needs.
## Installation
Given a docker swarm is configured, run:
```
source .env
docker stack deploy sentry -c sentry-swarm.yml
```