Skip to content

Commit 55cf057

Browse files
committed
style: docker compose snippet
1 parent ab7296c commit 55cf057

2 files changed

Lines changed: 6 additions & 16 deletions

File tree

src/components/docs/DockerComposeSnippet.astro

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
---
22
import Code from "astro/components/Code.astro";
3-
import {
4-
browserlessImage,
5-
caddyImage,
6-
watchtowerImage,
7-
webImage,
8-
} from "../../data/docker";
3+
import { browserlessImage, caddyImage, watchtowerImage, webImage } from "../../data/docker";
94
105
interface Props {
11-
variant:
12-
| "minimal"
13-
| "productionCaddy"
14-
| "secure"
15-
| "watchtower"
16-
| "resourceGuardrails";
6+
variant: "minimal" | "productionCaddy" | "secure" | "watchtower" | "resourceGuardrails";
177
}
188
199
const { variant } = Astro.props;

src/data/docker.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export const dockerHubRepository = "html2rss/web";
1+
export const dockerHubRepository = 'html2rss/web';
22
export const dockerHubUrl = `https://hub.docker.com/r/${dockerHubRepository}`;
33
export const webImage = `${dockerHubRepository}:latest`;
4-
export const browserlessImage = "ghcr.io/browserless/chromium";
5-
export const caddyImage = "caddy:2-alpine";
6-
export const watchtowerImage = "containrrr/watchtower";
4+
export const browserlessImage = 'ghcr.io/browserless/chromium';
5+
export const caddyImage = 'caddy:2-alpine';
6+
export const watchtowerImage = 'containrrr/watchtower';

0 commit comments

Comments
 (0)