Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Droplet Type & Docker Security #5

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ users:
runcmd:
- /usr/bin/git clone https://github.com/dills122/backbone-infa.git backbone-src
- sudo ufw allow 'Nginx Full'
- sudo ufw deny 6379 # Lockdown redis port from the outside world
- sudo wget -O /usr/local/bin/ufw-docker https://github.com/chaifeng/ufw-docker/raw/master/ufw-docker
- sudo chmod +x /usr/local/bin/ufw-docker
- sudo ufw-docker install
- sudo systemctl restart ufw
- /usr/bin/bash ./backbone-src/scripts/certbot.sh
- /usr/bin/bash ./backbone-src/scripts/umami-setup.sh
- sudo systemctl restart nginx
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ variable "droplet_image" {
}
variable "droplet_size" {
description = "Droplet size for server"
default = "s-1vcpu-1gb"
default = "s-1vcpu-2gb-amd"
}
variable "ssh_public_key_path" {
description = "Local public ssh key path"
default = "~/.ssh/do_id_rsa.pub"
default = "~/.ssh/id_ed25519.pub"
}
variable "ssh_public_key" {
description = "Local public ssh key"
Expand Down
Loading