User Tools

Site Tools


gitlab_sentry

Gitlab Sentry - easy setup (hopefully)

https://blog.neversyn.com/install-sentry-with-docker-easily/

use docker compose like :

version: '2'
services:
  weblate:
    image: weblate/weblate
    links:
      - database
      - cache
    ports:
      - 80:80
    volumes:
      - weblate-data:/app/data
    env_file:
      - ./environment
    restart: always
    depends_on:
      - database
      - cache
  database:
    image: postgres:9.6-alpine
    env_file:
      - ./environment
    volumes:
      - postgres-data:/var/lib/postgresql/data
    restart: always
  cache:
    image: memcached:1.5-alpine
    restart: always
volumes:
  weblate-data: {}
  postgres-data: {}

./environment

# See Weblate documentation for detailed description:
# https://docs.weblate.org/en/latest/admin/deployments.html#docker

# Weblate setup
WEBLATE_DEBUG=1
WEBLATE_LOGLEVEL=DEBUG
WEBLATE_SITE_TITLE=Weblate
WEBLATE_ADMIN_NAME=Weblate Admin
WEBLATE_ADMIN_EMAIL=noreply@weblate.org
WEBLATE_ADMIN_PASSWORD=
WEBLATE_SERVER_EMAIL=noreply@weblate.org
WEBLATE_DEFAULT_FROM_EMAIL=noreply@weblate.org
WEBLATE_ALLOWED_HOSTS=*
WEBLATE_REGISTRATION_OPEN=1

# Extra
#WEBLATE_TIME_ZONE=
#WEBLATE_MT_GOOGLE_KEY=
#WEBLATE_SOCIAL_AUTH_GITHUB_KEY=
#WEBLATE_SOCIAL_AUTH_GITHUB_SECRET=
#WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY=
#WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET=
#WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY=
#WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET=
#WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=
#WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=

#WEBLATE_OFFLOAD_INDEXING=1
#WEBLATE_GOOGLE_ANALYTICS_ID=
#WEBLATE_ENABLE_HTTPS=1
#WEBLATE_REQUIRE_LOGIN=1

# LDAP Auth
#WEBLATE_AUTH_LDAP_SERVER_URI=ldap://ldap.example.org
#WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE=uid=%(user)s,ou=People,dc=example,dc=net
#WEBLATE_AUTH_LDAP_USER_ATTR_MAP=first_name:name,email:mail

# PostgreSQL setup
POSTGRES_PASSWORD=weblate
POSTGRES_USER=weblate
POSTGRES_DATABASE=weblate
POSTGRES_HOST=database
POSTGRES_PORT=

# Memcached setup
MEMCACHED_HOST=cache
MEMCACHED_PORT=11211

# Mail server, the server has to listen on port 587 and understand TLS
WEBLATE_EMAIL_HOST=smtp.gmail.com
# Do NOT use quotes here
WEBLATE_EMAIL_USER=
# Do NOT use quotes here
WEBLATE_EMAIL_PASSWORD=

Mattermost integration

https://github.com/NDrive/sentry-mattermost

Nextcloud Integration

https://github.com/ChristophWurst/nextcloud_sentry/blob/master/doc/admin.md

Express JS integration

https://docs.sentry.io/error-reporting/quickstart/?platform=node#pick-a-client-integration

Bug report widget

https://docs.sentry.io/enriching-error-data/user-feedback/?platform=php

gitlab_sentry.txt · Last modified: 2019/04/24 18:57 by admin