rancher script
-
Rancher - nginx 쉘로 띄워보기ETC/MacOS,Rancher 2024. 7. 11. 10:45
custom.conf 생성$ vi /Users/deokjoonkang/dev/opt/nginx/config/custom.confserver { listen 80; server_name example.com; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri/ /index.html; }} build-homepage.sh 작성#!/bin/shIMAGE_NAME=nginxIMAGE_VERSION=alpineCONTAINER_NAME=$IMAGE_NAME-$IMAGE_VERSION-homepagehelp() { if [ -z "$1" ]; then echo "사용법: $..