Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 407eaa5

Browse files
committed
chore: initial commit
0 parents  commit 407eaa5

File tree

6 files changed

+86
-0
lines changed

6 files changed

+86
-0
lines changed

.env.example

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
SENTRY_SECRET_KEY=
2+
SENTRY_SERVER_EMAIL=
3+
SENTRY_EMAIL_HOST=
4+
SENTRY_EMAIL_PORT=
5+
SENTRY_EMAIL_USER=
6+
SENTRY_EMAIL_PASSWORD=
7+
SENTRY_EMAIL_USE_TLS=
8+
GITHUB_APP_ID=
9+
GITHUB_API_SECRET=

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Packages
2+
node_modules/
3+
4+
# Log files
5+
logs/
6+
*.log
7+
npm-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
14+
# Env
15+
.env
16+
grafana/.env
17+
18+
# Miscellaneous
19+
.tmp/
20+
.github/

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM sentry:9-onbuild

docker-compose.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
version: '3.7'
2+
3+
x-defaults: &defaults
4+
restart: always
5+
build: .
6+
depends_on:
7+
- redis
8+
- postgres
9+
- memcached
10+
env_file:
11+
- ./.env
12+
environment:
13+
SENTRY_MEMCACHED_HOST: memcached
14+
SENTRY_REDIS_HOST: redis
15+
SENTRY_POSTGRES_HOST: postgres
16+
SENTRY_SINGLE_ORGANIZATION: 0
17+
volumes:
18+
- sentry-data:/var/lib/sentry/files
19+
20+
21+
services:
22+
memcached:
23+
restart: always
24+
image: memcached:1-alpine
25+
26+
redis:
27+
restart: always
28+
image: redis:5-alpine
29+
30+
postgres:
31+
restart: always
32+
image: postgres:11-alpine
33+
volumes:
34+
- sentry-postgres:/var/lib/postgresql/data
35+
36+
web:
37+
<<: *defaults
38+
ports:
39+
- 9000:9000
40+
41+
cron:
42+
<<: *defaults
43+
command: run cron
44+
45+
worker:
46+
<<: *defaults
47+
command: run worker
48+
49+
50+
volumes:
51+
sentry-data:
52+
external: true
53+
sentry-postgres:
54+
external: true

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git+https://github.com/getsentry/sentry-auth-github.git@master#egg=sentry-auth-github

0 commit comments

Comments
 (0)