Skip to content

Instantly share code, notes, and snippets.

View coditori's full-sized avatar
🏋️
Working from home

Ario Afrashteh coditori

🏋️
Working from home
View GitHub Profile
@coditori
coditori / ubuntu_server_hardening.md
Last active May 28, 2024 09:05
Ubuntu Fresh Server Security and Hardening Script

Ubuntu Fresh Server Security and Hardening Script

#!/bin/bash

# Update the package list and upgrade any installed packages
sudo apt update
sudo apt upgrade -y

# Set up a non-root user account
@coditori
coditori / docker-compose-gitlab-jenkins-sonarqube-postgres.yml
Created May 29, 2018 07:10
CI/CD and Code Quality Infrastructure based on #docker #gitlab #jenkins #sonarqube #postgres
# To have multiple databases (to separate Gitlab and SonarQube Databases) I created a custom Database Docker Image
# https://github.com/massoudAfrashteh/configtori/tree/master/docker-postgres-plus
version: '3'
services:
gitlab:
image: gitlab/gitlab-ce
# restart: always