onpremise
boiler_plates
onpremise | boiler_plates | |
---|---|---|
1 | 18 | |
5,303 | 60 | |
- | - | |
8.6 | 0.0 | |
almost 2 years ago | over 1 year ago | |
Shell | Shell | |
GNU General Public License v3.0 or later | Do What The F*ck You Want To Public License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onpremise
-
Spin up EC2 instance, install a tool, run a command, download result, destroy the instance.
Here is some sample code that starts an EC2 Instance with a startup script. You can also set a timer and destroy the instance. Note the userData.addCommands which will run the first time an instance starts up. Also note init: CloudFormationInit.fromConfigSets({ which runs every time the instance starts or reboots.: userData.addCommands( 'sudo -s', 'apt-get update -y', 'apt-get install -y git awscli ec2-instance-connect', 'until git clone https://github.com/aws-quickstart/quickstart-linux-utilities.git; do echo "Retrying"; done', 'cd quickstart-linux-utilities/', 'source quickstart-cfn-tools.source', 'qs_update-os || qs_err', 'qs_bootstrap_pip || qs_err', 'qs_aws-cfn-bootstrap || qs_err', 'mkdir -p /opt/aws/bin', 'ln -s /usr/local/bin/cfn-* /opt/aws/bin/', `apt-get update && apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release`, 'curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null', 'apt-get update && \ apt-get install -y docker-ce docker-ce-cli containerd.io', 'curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose', 'chmod +x /usr/local/bin/docker-compose', 'cd .. && git clone https://github.com/getsentry/onpremise.git', 'cd onpremise/ && ./install.sh --no-user-prompt' ) /** * Disk drive */ const rootVolume: BlockDevice = { deviceName: '/dev/sda1', volume: BlockDeviceVolume.ebs(50) } /** * EC2 instance */ this.sentryInstance = new Instance(this, 'HubsSentryIO', { vpc: this.loggingVpc, securityGroup: sentrySG, allowAllOutbound: false, instanceName: 'HubsSentryIO', instanceType: InstanceType.of( InstanceClass.BURSTABLE3, InstanceSize.LARGE ), resourceSignalTimeout: Duration.minutes(30), detailedMonitoring: true, machineImage: MachineImage.genericLinux( { // Ubuntu 20.04 AMD64 image, obtained from https://cloud-images.ubuntu.com/locator/ec2/ 'ap-southeast-2': 'ami-03cfcb06be7fa0860' }, { userData } ), blockDevices: [rootVolume], init: CloudFormationInit.fromConfigSets({ configs: { sentry: new InitConfig([ InitCommand.shellCommand( 'cd /onpremise/ && sudo docker-compose up -d' ) ]) }, configSets: { default: ['sentry'] } }), keyName: 'keyname' })
boiler_plates
-
I created bash scripts to automate and simplify getting my homelab up and running.
Hi! Really love this, but a few comments, mainly as a cloud engineer working with infrastructure all day around the automated_deployments, make directories file.
- How to easily setup your own homelab and get it up and running with docker containers
What are some alternatives?
Sentry - Developer-first error tracking and performance monitoring
DockSTARTer - DockSTARTer helps you get started with running apps in Docker.
pds - Bluesky PDS (Personal Data Server) container image, compose file, and documentation
docker-install - Docker installation script
Vaultwarden_Self_Host - Automatically setup and host a Vaultwarden (unoffical Bitwarden) instance on a Raspberry Pi or other Linux Server
wazuh-docker - Wazuh - Docker containers
quickstart-linux-utilities - Linux Common Utilitys
docker-github-actions-runner - This will run the new self-hosted github actions runners with docker-in-docker
musicbrainz-docker - Docker Compose project for the MusicBrainz Server with replication, search, and development setup
self-hosted - Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
self-hosted - Deploy Revolt using Docker.
sveltekit-place - A r/place clone made in SvelteKit, with my cardboard OAuth