1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Compare commits

..

4 commits

Author SHA1 Message Date
Korbs 2635eede6c Update TODO 2024-12-12 09:05:19 -05:00
Korbs 6089575d92 Always restart, bridge network mode isn't nessesary 2024-12-12 09:05:11 -05:00
Korbs 468c6d911c Fix typo 2024-12-12 09:04:59 -05:00
Korbs d160f069e2 Move labels to Dockerfile 2024-12-12 09:04:55 -05:00
5 changed files with 25 additions and 25 deletions

2
.gitignore vendored
View file

@ -4,7 +4,7 @@ dist/
# generated types
.astro/
# This interrups Cloudflare Pages builds
# This interrupts Cloudflare Pages builds
bun.lockb
# dependencies

View file

@ -1,8 +1,14 @@
# Base
## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/node:alpine AS based
## For ARM64 Servers:
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
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"
# Copy Files
WORKDIR /app
@ -10,4 +16,4 @@ COPY . .
# Run
EXPOSE 2014
CMD npm run build && npm run preview
CMD bun run build && bun run preview

25
TODO.md
View file

@ -20,27 +20,22 @@
- [ ] Multi
- [ ] Closable
- [ ] Mobile friendly
- [ ] Error Handling
- [ ] Custom Error Pages
- [ ] Explore new experimental Astro feature: astro:env
- [ ] Optimizations
- [ ] Mobile Friendly
- [ ] 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] Error Handling
- [x] Custom Error Pages
- [x] Add Integrations:
- [x] Analytics and Event Tracking for:
- [x] Umami
- [x] Feedback:
- [x] Feelback*
- [x] Feelback
- [x] [Zorn](https://zorn.docs.sudovanilla.org) Support
- [ ] 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

View file

@ -1,7 +1,7 @@
services:
butterflyvu:
image: oci.registry.sudovanilla.org/butterflyvu:latest
network_mode: bridge
restart: always
volumes:
- ./config.json:/app/config.json
- ./docs/home.mdx:/app/src/content/home.mdx
@ -10,8 +10,7 @@ services:
nginx:
image: nginx:latest
restart: unless-stopped
network_mode: bridge
restart: always
ports:
- 4242:80
volumes:

View file

@ -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 --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:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache",
"docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
},
"dependencies": {