[https://develop.sentry.dev/self-hosted]
[https://github.com/getsentry/self-hosted]
[https://docs.docker.com/engine/install/ubuntu]
[https://docs.docker.com/engine/install/linux-postinstall/]
[https://github.com/getsentry/self-hosted/releases/latest]
./install.sh
Solution: change the access permissions for the following files
chmod 744 ./install.sh
chmod 744 ./cron/entrypoint.sh
chmod 744 ./sentry/entrypoint.sh
Solution: change ./install/_min-requirements.sh
MIN_RAM_HARD=7000 # MB
Changed docker-compose.yaml in this project
Changed ./nginx-https/nginx.conf in this project
In folder ./nginx-https create certificates
[https://webguard.pro/web-services/nginx/generacziya-ssl-sertifikata-dlya-nginx-openssl.html]
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout sentry.key -out sentry.crt
In folder ./nginx-https create DH parameter file (it may take a long time)
[https://qna.habr.com/q/984533]
openssl dhparam -out dhparam.pem 4096
Changed ./sentry/sentry.conf.py in this project
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
USE_X_FORWARDED_HOST = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
CSRF_TRUSTED_ORIGINS = ["https://127.0.0.1"]
Changed ./sentry/config.yaml in this project
system.url-prefix: https://127.0.0.1
docker compose up -d