commit 319b32ef2c06b253ffecdc6ed05b010ec2542d1b Author: Ryan Cavicchioni Date: Fri Mar 7 13:18:50 2025 -0600 initial commit of CaaS (Cats as a Service) diff --git a/caas.Dockerfile b/caas.Dockerfile new file mode 100644 index 0000000..402e495 --- /dev/null +++ b/caas.Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:latest +COPY cats /usr/share/nginx/html/cats +COPY nginx.conf /etc/nginx/nginx.conf +COPY default.conf /etc/nginx/conf.d/default.conf diff --git a/cats/1.jpg b/cats/1.jpg new file mode 100644 index 0000000..c454c3b Binary files /dev/null and b/cats/1.jpg differ diff --git a/cats/10.jpg b/cats/10.jpg new file mode 100644 index 0000000..35a535d Binary files /dev/null and b/cats/10.jpg differ diff --git a/cats/11.jpg b/cats/11.jpg new file mode 100644 index 0000000..513d007 Binary files /dev/null and b/cats/11.jpg differ diff --git a/cats/12.jpg b/cats/12.jpg new file mode 100644 index 0000000..6f16811 Binary files /dev/null and b/cats/12.jpg differ diff --git a/cats/13.jpg b/cats/13.jpg new file mode 100644 index 0000000..835e7f5 Binary files /dev/null and b/cats/13.jpg differ diff --git a/cats/14.jpg b/cats/14.jpg new file mode 100644 index 0000000..8233cbc Binary files /dev/null and b/cats/14.jpg differ diff --git a/cats/15.jpg b/cats/15.jpg new file mode 100644 index 0000000..f5ec177 Binary files /dev/null and b/cats/15.jpg differ diff --git a/cats/16.jpg b/cats/16.jpg new file mode 100644 index 0000000..73a6db4 Binary files /dev/null and b/cats/16.jpg differ diff --git a/cats/17.jpg b/cats/17.jpg new file mode 100644 index 0000000..e1fe60c Binary files /dev/null and b/cats/17.jpg differ diff --git a/cats/18.jpg b/cats/18.jpg new file mode 100644 index 0000000..15366f7 Binary files /dev/null and b/cats/18.jpg differ diff --git a/cats/19.jpg b/cats/19.jpg new file mode 100644 index 0000000..6a54b10 Binary files /dev/null and b/cats/19.jpg differ diff --git a/cats/2.jpg b/cats/2.jpg new file mode 100644 index 0000000..0012449 Binary files /dev/null and b/cats/2.jpg differ diff --git a/cats/20.jpg b/cats/20.jpg new file mode 100644 index 0000000..6ae0be8 Binary files /dev/null and b/cats/20.jpg differ diff --git a/cats/21.jpg b/cats/21.jpg new file mode 100644 index 0000000..bfd247a Binary files /dev/null and b/cats/21.jpg differ diff --git a/cats/22.jpg b/cats/22.jpg new file mode 100644 index 0000000..f466ee0 Binary files /dev/null and b/cats/22.jpg differ diff --git a/cats/23.jpg b/cats/23.jpg new file mode 100644 index 0000000..99ec663 Binary files /dev/null and b/cats/23.jpg differ diff --git a/cats/24.jpg b/cats/24.jpg new file mode 100644 index 0000000..a04b69f Binary files /dev/null and b/cats/24.jpg differ diff --git a/cats/25.jpg b/cats/25.jpg new file mode 100644 index 0000000..820f502 Binary files /dev/null and b/cats/25.jpg differ diff --git a/cats/26.jpg b/cats/26.jpg new file mode 100644 index 0000000..00af93a Binary files /dev/null and b/cats/26.jpg differ diff --git a/cats/27.jpg b/cats/27.jpg new file mode 100644 index 0000000..0fef5e1 Binary files /dev/null and b/cats/27.jpg differ diff --git a/cats/28.jpg b/cats/28.jpg new file mode 100644 index 0000000..c5c27c2 Binary files /dev/null and b/cats/28.jpg differ diff --git a/cats/29.jpg b/cats/29.jpg new file mode 100644 index 0000000..0ed4d3a Binary files /dev/null and b/cats/29.jpg differ diff --git a/cats/3.jpg b/cats/3.jpg new file mode 100644 index 0000000..c40fbfe Binary files /dev/null and b/cats/3.jpg differ diff --git a/cats/30.jpg b/cats/30.jpg new file mode 100644 index 0000000..09e126b Binary files /dev/null and b/cats/30.jpg differ diff --git a/cats/31.jpg b/cats/31.jpg new file mode 100644 index 0000000..62e5609 Binary files /dev/null and b/cats/31.jpg differ diff --git a/cats/32.jpg b/cats/32.jpg new file mode 100644 index 0000000..5ae1f4f Binary files /dev/null and b/cats/32.jpg differ diff --git a/cats/33.jpg b/cats/33.jpg new file mode 100644 index 0000000..ceeda12 Binary files /dev/null and b/cats/33.jpg differ diff --git a/cats/34.jpg b/cats/34.jpg new file mode 100644 index 0000000..e621e65 Binary files /dev/null and b/cats/34.jpg differ diff --git a/cats/35.jpg b/cats/35.jpg new file mode 100644 index 0000000..937c057 Binary files /dev/null and b/cats/35.jpg differ diff --git a/cats/36.jpg b/cats/36.jpg new file mode 100644 index 0000000..478c2d9 Binary files /dev/null and b/cats/36.jpg differ diff --git a/cats/37.jpg b/cats/37.jpg new file mode 100644 index 0000000..4266db8 Binary files /dev/null and b/cats/37.jpg differ diff --git a/cats/38.jpg b/cats/38.jpg new file mode 100644 index 0000000..82e0aae Binary files /dev/null and b/cats/38.jpg differ diff --git a/cats/39.jpg b/cats/39.jpg new file mode 100644 index 0000000..da7af5c Binary files /dev/null and b/cats/39.jpg differ diff --git a/cats/4.jpg b/cats/4.jpg new file mode 100644 index 0000000..9ec3927 Binary files /dev/null and b/cats/4.jpg differ diff --git a/cats/40.jpg b/cats/40.jpg new file mode 100644 index 0000000..5323326 Binary files /dev/null and b/cats/40.jpg differ diff --git a/cats/41.jpg b/cats/41.jpg new file mode 100644 index 0000000..09edc7d Binary files /dev/null and b/cats/41.jpg differ diff --git a/cats/42.jpg b/cats/42.jpg new file mode 100644 index 0000000..f7daf8e Binary files /dev/null and b/cats/42.jpg differ diff --git a/cats/43.jpg b/cats/43.jpg new file mode 100644 index 0000000..b26eeb1 Binary files /dev/null and b/cats/43.jpg differ diff --git a/cats/44.jpg b/cats/44.jpg new file mode 100644 index 0000000..eb39387 Binary files /dev/null and b/cats/44.jpg differ diff --git a/cats/45.jpg b/cats/45.jpg new file mode 100644 index 0000000..980ed3b Binary files /dev/null and b/cats/45.jpg differ diff --git a/cats/46.jpg b/cats/46.jpg new file mode 100644 index 0000000..5f638d1 Binary files /dev/null and b/cats/46.jpg differ diff --git a/cats/47.jpg b/cats/47.jpg new file mode 100644 index 0000000..3be0139 Binary files /dev/null and b/cats/47.jpg differ diff --git a/cats/48.jpg b/cats/48.jpg new file mode 100644 index 0000000..d61a1f0 Binary files /dev/null and b/cats/48.jpg differ diff --git a/cats/49.jpg b/cats/49.jpg new file mode 100644 index 0000000..2b39706 Binary files /dev/null and b/cats/49.jpg differ diff --git a/cats/5.jpg b/cats/5.jpg new file mode 100644 index 0000000..4df045c Binary files /dev/null and b/cats/5.jpg differ diff --git a/cats/50.jpg b/cats/50.jpg new file mode 100644 index 0000000..dd54f66 Binary files /dev/null and b/cats/50.jpg differ diff --git a/cats/51.jpg b/cats/51.jpg new file mode 100644 index 0000000..ff2bd65 Binary files /dev/null and b/cats/51.jpg differ diff --git a/cats/52.jpg b/cats/52.jpg new file mode 100644 index 0000000..93dde77 Binary files /dev/null and b/cats/52.jpg differ diff --git a/cats/53.jpg b/cats/53.jpg new file mode 100644 index 0000000..852e504 Binary files /dev/null and b/cats/53.jpg differ diff --git a/cats/54.jpg b/cats/54.jpg new file mode 100644 index 0000000..dddeb20 Binary files /dev/null and b/cats/54.jpg differ diff --git a/cats/55.jpg b/cats/55.jpg new file mode 100644 index 0000000..daf3368 Binary files /dev/null and b/cats/55.jpg differ diff --git a/cats/56.jpg b/cats/56.jpg new file mode 100644 index 0000000..511a497 Binary files /dev/null and b/cats/56.jpg differ diff --git a/cats/57.jpg b/cats/57.jpg new file mode 100644 index 0000000..0222033 Binary files /dev/null and b/cats/57.jpg differ diff --git a/cats/58.jpg b/cats/58.jpg new file mode 100644 index 0000000..037ef83 Binary files /dev/null and b/cats/58.jpg differ diff --git a/cats/59.jpg b/cats/59.jpg new file mode 100644 index 0000000..b98216a Binary files /dev/null and b/cats/59.jpg differ diff --git a/cats/6.jpg b/cats/6.jpg new file mode 100644 index 0000000..8849d86 Binary files /dev/null and b/cats/6.jpg differ diff --git a/cats/60.jpg b/cats/60.jpg new file mode 100644 index 0000000..d318913 Binary files /dev/null and b/cats/60.jpg differ diff --git a/cats/61.jpg b/cats/61.jpg new file mode 100644 index 0000000..fb822b3 Binary files /dev/null and b/cats/61.jpg differ diff --git a/cats/62.jpg b/cats/62.jpg new file mode 100644 index 0000000..ffa524b Binary files /dev/null and b/cats/62.jpg differ diff --git a/cats/63.jpg b/cats/63.jpg new file mode 100644 index 0000000..f2e1ac2 Binary files /dev/null and b/cats/63.jpg differ diff --git a/cats/64.jpg b/cats/64.jpg new file mode 100644 index 0000000..6e23843 Binary files /dev/null and b/cats/64.jpg differ diff --git a/cats/65.jpg b/cats/65.jpg new file mode 100644 index 0000000..21f3660 Binary files /dev/null and b/cats/65.jpg differ diff --git a/cats/66.jpg b/cats/66.jpg new file mode 100644 index 0000000..ca30299 Binary files /dev/null and b/cats/66.jpg differ diff --git a/cats/67.jpg b/cats/67.jpg new file mode 100644 index 0000000..19a6009 Binary files /dev/null and b/cats/67.jpg differ diff --git a/cats/68.jpg b/cats/68.jpg new file mode 100644 index 0000000..6eed6d5 Binary files /dev/null and b/cats/68.jpg differ diff --git a/cats/69.jpg b/cats/69.jpg new file mode 100644 index 0000000..2736999 Binary files /dev/null and b/cats/69.jpg differ diff --git a/cats/7.jpg b/cats/7.jpg new file mode 100644 index 0000000..f4a4b77 Binary files /dev/null and b/cats/7.jpg differ diff --git a/cats/70.jpg b/cats/70.jpg new file mode 100644 index 0000000..594120a Binary files /dev/null and b/cats/70.jpg differ diff --git a/cats/71.jpg b/cats/71.jpg new file mode 100644 index 0000000..61e14f6 Binary files /dev/null and b/cats/71.jpg differ diff --git a/cats/72.jpg b/cats/72.jpg new file mode 100644 index 0000000..c076286 Binary files /dev/null and b/cats/72.jpg differ diff --git a/cats/73.jpg b/cats/73.jpg new file mode 100644 index 0000000..9150d7c Binary files /dev/null and b/cats/73.jpg differ diff --git a/cats/74.jpg b/cats/74.jpg new file mode 100644 index 0000000..5a49b80 Binary files /dev/null and b/cats/74.jpg differ diff --git a/cats/75.jpg b/cats/75.jpg new file mode 100644 index 0000000..e22ac7d Binary files /dev/null and b/cats/75.jpg differ diff --git a/cats/76.jpg b/cats/76.jpg new file mode 100644 index 0000000..7ad406d Binary files /dev/null and b/cats/76.jpg differ diff --git a/cats/77.jpg b/cats/77.jpg new file mode 100644 index 0000000..dd18d2a Binary files /dev/null and b/cats/77.jpg differ diff --git a/cats/78.jpg b/cats/78.jpg new file mode 100644 index 0000000..5823d76 Binary files /dev/null and b/cats/78.jpg differ diff --git a/cats/79.jpg b/cats/79.jpg new file mode 100644 index 0000000..69605c5 Binary files /dev/null and b/cats/79.jpg differ diff --git a/cats/8.jpg b/cats/8.jpg new file mode 100644 index 0000000..39c0fb6 Binary files /dev/null and b/cats/8.jpg differ diff --git a/cats/9.jpg b/cats/9.jpg new file mode 100644 index 0000000..ce05b36 Binary files /dev/null and b/cats/9.jpg differ diff --git a/default.conf b/default.conf new file mode 100644 index 0000000..73bcea3 --- /dev/null +++ b/default.conf @@ -0,0 +1,46 @@ +server { + listen 80; + server_name localhost; + + #access_log /var/log/nginx/host.access.log main; + + location / { + root /usr/share/nginx/html/cats; + autoindex on; + random_index on; + index index.html index.htm; + } + + #error_page 404 /404.html; + + # redirect server error pages to the static page /50x.html + # + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + + # proxy the PHP scripts to Apache listening on 127.0.0.1:80 + # + #location ~ \.php$ { + # proxy_pass http://127.0.0.1; + #} + + # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 + # + #location ~ \.php$ { + # root html; + # fastcgi_pass 127.0.0.1:9000; + # fastcgi_index index.php; + # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; + # include fastcgi_params; + #} + + # deny access to .htaccess files, if Apache's document root + # concurs with nginx's one + # + #location ~ /\.ht { + # deny all; + #} +} + diff --git a/docker-bake.hcl b/docker-bake.hcl new file mode 100644 index 0000000..ddf1241 --- /dev/null +++ b/docker-bake.hcl @@ -0,0 +1,8 @@ +group "default" { + targets = [ "caas" ] +} + +target "caas" { + dockerfile = "caas.Dockerfile" + tags = [ "caas:latest" ] +} diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..5e076aa --- /dev/null +++ b/nginx.conf @@ -0,0 +1,32 @@ + +user nginx; +worker_processes auto; + +error_log /var/log/nginx/error.log notice; +pid /var/run/nginx.pid; + + +events { + worker_connections 1024; +} + + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + + access_log /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + #gzip on; + + include /etc/nginx/conf.d/*.conf; +}