mirror of
https://ark.sudovanilla.org/Korbs/butterflyvu.git
synced 2024-12-22 23:33:54 +00:00
Compare commits
No commits in common. "2635eede6cf2c030753cdb03dc8c9c4958f1d5fe" and "0f7b1eba40e9a46aa22e4ea792da8cf07ace0a7b" have entirely different histories.
2635eede6c
...
0f7b1eba40
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,7 +4,7 @@ dist/
|
|||
# generated types
|
||||
.astro/
|
||||
|
||||
# This interrupts Cloudflare Pages builds
|
||||
# This interrups Cloudflare Pages builds
|
||||
bun.lockb
|
||||
|
||||
# dependencies
|
||||
|
|
16
Dockerfile
16
Dockerfile
|
@ -1,14 +1,8 @@
|
|||
# Base
|
||||
FROM oven/bun:alpine AS based
|
||||
|
||||
# Metadata
|
||||
LABEL org.opencontainers.image.title="ButterflyVu"
|
||||
LABEL org.opencontainers.image.vendor="SudoVanilla"
|
||||
LABEL org.opencontainers.image.description="Documentations built on Astro"
|
||||
LABEL org.opencontainers.image.licenses="MIT NON-AI License"
|
||||
LABEL org.opencontainers.image.url="https://butterflyvu.docs.sudovanilla.org/"
|
||||
LABEL org.opencontainers.image.source="https://ark.sudovanilla.org/Korbs/ButterflyVu/"
|
||||
LABEL org.opencontainers.image.version="0.1.6"
|
||||
## For AMD64 Servers:
|
||||
FROM ark.sudovanilla.org/korbs/node:alpine AS based
|
||||
## For ARM64 Servers:
|
||||
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
|
||||
|
||||
# Copy Files
|
||||
WORKDIR /app
|
||||
|
@ -16,4 +10,4 @@ COPY . .
|
|||
|
||||
# Run
|
||||
EXPOSE 2014
|
||||
CMD bun run build && bun run preview
|
||||
CMD npm run build && npm run preview
|
25
TODO.md
25
TODO.md
|
@ -20,22 +20,27 @@
|
|||
- [ ] Multi
|
||||
- [ ] Closable
|
||||
- [ ] Mobile friendly
|
||||
- [ ] Error Handling
|
||||
- [ ] Custom Error Pages
|
||||
- [ ] Explore new experimental Astro feature: astro:env
|
||||
- [ ] Optimizations
|
||||
- [ ] Mobile Friendly
|
||||
- [x] Error Handling
|
||||
- [x] Custom Error Pages
|
||||
- [x] Add Integrations:
|
||||
- [x] Analytics and Event Tracking for:
|
||||
- [ ] Add Integrations:
|
||||
- [x] Analytics for:
|
||||
- [x] Amplitude
|
||||
- [x] Fathom
|
||||
- [x] Matomo (aka Piwik)
|
||||
- [x] Metrical
|
||||
- [x] Minimalanalytics
|
||||
- [x] Plausible
|
||||
- [x] Simple Analytics
|
||||
- [x] Swetrix Analytics
|
||||
- [x] Tianji
|
||||
- [x] Umami
|
||||
- [x] Feedback:
|
||||
- [x] Feelback
|
||||
- [x] [Zorn](https://zorn.docs.sudovanilla.org) Support
|
||||
- [x] Feelback*
|
||||
- [ ] Provide Docker Image for AMD64 and ARM64
|
||||
- [x] AMD64
|
||||
- [ ] ARM64
|
||||
- [x] Docker, test with:
|
||||
- [o] ~~Docker Desktop~~ (Discouraged)
|
||||
- [x] Docker Engine
|
||||
- [x] Dockge
|
||||
- [x] Dokemon
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
services:
|
||||
butterflyvu:
|
||||
image: oci.registry.sudovanilla.org/butterflyvu:latest
|
||||
restart: always
|
||||
network_mode: bridge
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
- ./docs/home.mdx:/app/src/content/home.mdx
|
||||
|
@ -10,7 +10,8 @@ services:
|
|||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- 4242:80
|
||||
volumes:
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"preview": "astro preview",
|
||||
"docker:start": "docker compose up -d",
|
||||
"docker:stop": "docker compose down",
|
||||
"docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache",
|
||||
"docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache --annotation 'org.opencontainers.image.vendor=SudoVanilla' --annotation 'org.opencontainers.image.description=Documentations built on Astro' --annotation 'org.opencontainers.image.title=ButterflyVu' --annotation 'org.opencontainers.image.licenses=MIT NON-AI License' --annotation 'org.opencontainers.image.url=https://ark.sudovanilla.org/Korbs/ButterflyVu'",
|
||||
"docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue