This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to update a firewall rule in a Hetzner Firewall with your current IP address. | |
# Good if you would like to restrict SSH access only for your current IP address (secure). | |
################# | |
# WARNING: This script will overwrite all rules in the firewall rules, so make sure you | |
# added all the required rules. | |
# I use a separate firewall rule just for SSH access. | |
################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
coolify-ssh: | |
image: lscr.io/linuxserver/openssh-server:latest | |
container_name: coolify-ssh | |
environment: | |
- USER_NAME=hello | |
- SUDO_ACCESS=true | |
- LOG_STDOUT=true | |
- PUBLIC_KEY_FILE=/public-key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will determine where to write static assets based on the build.publish settings, as per this sample configuration. | |
# More details: https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify | |
[build] | |
command = "npm run build" | |
publish = "build" |