# tailscale-dev/docker-guide-code-examples architecture

> Architecture diagram of the GitHub repository tailscale-dev/docker-guide-code-examples, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tailscale-dev/docker-guide-code-examples
- Repository: https://github.com/tailscale-dev/docker-guide-code-examples

## Overview

This repository is a collection of deployment examples accompanying a Tailscale-and-Docker guide, rather than a single application. Its examples cover auth-key and OAuth setup, an Nginx pattern, hosted applications, GPU-specific Immich configurations, and quickstarts. The README states that the examples work with Docker and Podman. No source excerpts were provided, so the graph does not infer service internals or connections between examples; compatibility links reflect only the README.

Main entry points: [`01-authkey/compose.yaml`](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/01-authkey/compose.yaml) (Auth-key setup), [`02-oauth/compose.yaml`](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/02-oauth/compose.yaml) (OAuth setup), [`03-nginx-example/compose.yaml`](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/03-nginx-example/compose.yaml) (Nginx example), [`04-ts-mealie/compose.yaml`](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/04-ts-mealie/compose.yaml) (Mealie)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_networking["Networking examples"]
  node_authkey["Auth-key setup<br/>[compose.yaml]"]
  node_oauth["OAuth setup<br/>[compose.yaml]"]
  node_nginx_example["Nginx example<br/>[compose.yaml]"]
end

subgraph group_hosted_apps["Hosted applications"]
  node_mealie["Mealie<br/>[compose.yaml]"]
  node_immich_linux["Immich GPU Linux<br/>[compose.yaml]"]
  node_immich_windows["Immich GPU Windows<br/>[compose.yaml]"]
end

subgraph group_quickstarts["Quickstarts and servers"]
  node_quickstart_nginx["Nginx quickstart"]
  node_stirlingpdf["Stirling-PDF quickstart"]
  node_actual_server["Actual server<br/>[compose.yaml]"]
end

node_docker(("Docker"))
node_podman(("Podman"))

node_docker -->|"compatible with"| node_authkey
node_podman -->|"compatible with"| node_authkey
node_docker -->|"compatible with"| node_oauth
node_podman -->|"compatible with"| node_oauth
node_docker -->|"compatible with"| node_nginx_example
node_podman -->|"compatible with"| node_nginx_example
node_docker -->|"compatible with"| node_mealie
node_podman -->|"compatible with"| node_mealie
node_docker -->|"compatible with"| node_immich_linux
node_podman -->|"compatible with"| node_immich_linux
node_docker -->|"compatible with"| node_immich_windows
node_podman -->|"compatible with"| node_immich_windows
node_docker -->|"compatible with"| node_quickstart_nginx
node_podman -->|"compatible with"| node_quickstart_nginx
node_docker -->|"compatible with"| node_stirlingpdf
node_podman -->|"compatible with"| node_stirlingpdf
node_docker -->|"compatible with"| node_actual_server
node_podman -->|"compatible with"| node_actual_server

click node_authkey "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/01-authkey/compose.yaml"
click node_oauth "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/02-oauth/compose.yaml"
click node_nginx_example "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/03-nginx-example/compose.yaml"
click node_mealie "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/04-ts-mealie/compose.yaml"
click node_immich_linux "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/05-ts-immich-gpu/linux-host/compose.yaml"
click node_immich_windows "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/05-ts-immich-gpu/windows-host/compose.yaml"
click node_quickstart_nginx "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/06-quickstart-vid/01-nginx-basic/docker-compose.yaml"
click node_stirlingpdf "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/06-quickstart-vid/02-stirlingpdf/docker-compose.yaml"
click node_actual_server "https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/07-ts-actual-server/compose.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_authkey,node_oauth,node_nginx_example toneBlue
class node_mealie,node_immich_linux,node_immich_windows toneAmber
class node_quickstart_nginx,node_stirlingpdf,node_actual_server toneMint
class node_docker,node_podman toneIndigo
```

## Components

### Networking examples

- [Auth-key setup](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/01-authkey/compose.yaml): `01-authkey/compose.yaml`
- [OAuth setup](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/02-oauth/compose.yaml): `02-oauth/compose.yaml`
- [Nginx example](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/03-nginx-example/compose.yaml): `03-nginx-example/compose.yaml`

### Hosted applications

- [Mealie](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/04-ts-mealie/compose.yaml): `04-ts-mealie/compose.yaml`
- [Immich GPU Linux](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/05-ts-immich-gpu/linux-host/compose.yaml): `05-ts-immich-gpu/linux-host/compose.yaml`
- [Immich GPU Windows](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/05-ts-immich-gpu/windows-host/compose.yaml): `05-ts-immich-gpu/windows-host/compose.yaml`

### Quickstarts and servers

- [Nginx quickstart](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/06-quickstart-vid/01-nginx-basic/docker-compose.yaml): `06-quickstart-vid/01-nginx-basic/docker-compose.yaml`
- [Stirling-PDF quickstart](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/06-quickstart-vid/02-stirlingpdf/docker-compose.yaml): `06-quickstart-vid/02-stirlingpdf/docker-compose.yaml`
- [Actual server](https://github.com/tailscale-dev/docker-guide-code-examples/blob/main/07-ts-actual-server/compose.yaml): `07-ts-actual-server/compose.yaml`

### Other components

- **Docker**
- **Podman**

## Connections

- Docker → Auth-key setup: compatible with (evidence: `README.md`)
- Podman → Auth-key setup: compatible with (evidence: `README.md`)
- Docker → OAuth setup: compatible with (evidence: `README.md`)
- Podman → OAuth setup: compatible with (evidence: `README.md`)
- Docker → Nginx example: compatible with (evidence: `README.md`)
- Podman → Nginx example: compatible with (evidence: `README.md`)
- Docker → Mealie: compatible with (evidence: `README.md`)
- Podman → Mealie: compatible with (evidence: `README.md`)
- Docker → Immich GPU Linux: compatible with (evidence: `README.md`)
- Podman → Immich GPU Linux: compatible with (evidence: `README.md`)
- Docker → Immich GPU Windows: compatible with (evidence: `README.md`)
- Podman → Immich GPU Windows: compatible with (evidence: `README.md`)
- Docker → Nginx quickstart: compatible with (evidence: `README.md`)
- Podman → Nginx quickstart: compatible with (evidence: `README.md`)
- Docker → Stirling-PDF quickstart: compatible with (evidence: `README.md`)
- Podman → Stirling-PDF quickstart: compatible with (evidence: `README.md`)
- Docker → Actual server: compatible with (evidence: `README.md`)
- Podman → Actual server: compatible with (evidence: `README.md`)
