Setup Procedure for Sentry with Docker


This article describes a procedure to setup Sentry to VPS.

https://github.com/getsentry/onpremise

🐞 Prepare a server for Sentry

Sentry requre least 2400MB RAM. So, please rent a server which has least 2400MB RAM.

🤔 Building Docker work environment

# update OS
yum update
yum upgrade

# Remove old Docker
yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine

# Install Docker
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io

# Start Docker Process
systemctl start docker
systemctl enable docker

🐝 Install Docker Compose

curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

😀 Install Sentry

git clone https://github.com/getsentry/onpremise.git

mv onpremise sentry && cd sentry

./install.sh

docker-compose up -d

🍣 References

🖥 Recommended VPS Service

VULTR provides high performance cloud compute environment for you. Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour). In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!