1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 15:23: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 # generated types
.astro/ .astro/
# This interrups Cloudflare Pages builds # This interrupts Cloudflare Pages builds
bun.lockb bun.lockb
# dependencies # dependencies

View file

@ -1,8 +1,14 @@
# Base # Base
## For AMD64 Servers: FROM oven/bun:alpine AS based
FROM ark.sudovanilla.org/korbs/node:alpine AS based
## For ARM64 Servers: # Metadata
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based 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 # Copy Files
WORKDIR /app WORKDIR /app
@ -10,4 +16,4 @@ COPY . .
# Run # Run
EXPOSE 2014 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 - [ ] Multi
- [ ] Closable - [ ] Closable
- [ ] Mobile friendly - [ ] Mobile friendly
- [ ] Error Handling
- [ ] Custom Error Pages
- [ ] Explore new experimental Astro feature: astro:env
- [ ] Optimizations - [ ] Optimizations
- [ ] Mobile Friendly - [ ] Mobile Friendly
- [ ] Add Integrations: - [x] Error Handling
- [x] Analytics for: - [x] Custom Error Pages
- [x] Amplitude - [x] Add Integrations:
- [x] Fathom - [x] Analytics and Event Tracking for:
- [x] Matomo (aka Piwik)
- [x] Metrical
- [x] Minimalanalytics
- [x] Plausible
- [x] Simple Analytics
- [x] Swetrix Analytics
- [x] Tianji
- [x] Umami - [x] Umami
- [x] Feedback: - [x] Feedback:
- [x] Feelback* - [x] Feelback
- [x] [Zorn](https://zorn.docs.sudovanilla.org) Support
- [ ] Provide Docker Image for AMD64 and ARM64 - [ ] Provide Docker Image for AMD64 and ARM64
- [x] AMD64
- [ ] ARM64
- [x] Docker, test with: - [x] Docker, test with:
- [o] ~~Docker Desktop~~ (Discouraged)
- [x] Docker Engine
- [x] Dockge - [x] Dockge
- [x] Dokemon - [x] Dokemon

View file

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

View file

@ -27,7 +27,7 @@
"preview": "astro preview", "preview": "astro preview",
"docker:start": "docker compose up -d", "docker:start": "docker compose up -d",
"docker:stop": "docker compose down", "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" "docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
}, },
"dependencies": { "dependencies": {