JimsGarage Docker & Self-Hosted Deployment

GitHub

Shell repository by @JamesTurland. AI agent rules & system prompts with 4.7k stars.

4,693 stars Shell Shell 29 files ยท ~9,036 tokens
RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/nginx
2. Docker Run (1-Click Launch) docker run -d --name jimsgarage --restart always nginx
3. Podman Run podman run -d --name jimsgarage --restart always nginx
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/nginx:latest
5. ORAS Pull (OCI Artifact) oras pull nginx
6. Compose Deployment docker compose up -d
Ansible/Playbooks/File-Copy/nginx/docker-compose.yaml
Download .yml
version: "3.9"
services:
  web:
    image: nginx
    container_name: jimsgarage
    volumes:
     - /home/ubuntu/docker/nginx/templates:/etc/nginx/templates
     - /home/ubuntu/docker/nginx/web/website:/usr/share/nginx/html
    environment:
     - NGINX_HOST=nginx.jimsgarage.co.uk
     - NGINX_PORT=80
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.nginx.entrypoints=http"
      - "traefik.http.routers.nginx.rule=Host(`nginx.jimsgarage.co.uk`)"
      - "traefik.http.middlewares.nginx-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.nginx.middlewares=nginx-https-redirect"
      - "traefik.http.routers.nginx-secure.entrypoints=https"
      - "traefik.http.routers.nginx-secure.rule=Host(`nginx.jimsgarage.co.uk`)"
      - "traefik.http.routers.nginx-secure.tls=true"
      - "traefik.http.routers.nginx-secure.service=nginx"
      - "traefik.http.services.nginx.loadbalancer.server.port=80"
      - "traefik.docker.network=proxy"
    networks:
      proxy:
    security_opt:
      - no-new-privileges:true

networks:
  proxy:
    external: true