Updated repo to get rid of legacy crud
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
KawaiiPunk 2024-07-01 22:28:10 +01:00
parent d7392a5f10
commit be3ae9e672
Signed by: kawaiipunk
GPG Key ID: 8664A690E094B219
4 changed files with 158 additions and 120 deletions

View File

@ -1,11 +0,0 @@
FROM python:3.8-alpine
EXPOSE 8000
COPY . .
ENTRYPOINT ["/bin/sh"]
RUN apk add --no-cache curl
CMD ["-c", "python -m http.server --bind 0.0.0.0 --directory . 8000"]

View File

@ -1,28 +0,0 @@
---
version: "3.8"
services:
wiki:
image: "decentral1se/kawaiipunk.xyz:latest"
networks:
- proxy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 10s
retries: 10
start_period: 5s
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.wiki.loadbalancer.server.port=8000"
- "traefik.http.routers.wiki.rule=Host(`kawaiipunk.xyz`)"
- "traefik.http.routers.wiki.entrypoints=web-secure"
- "traefik.http.routers.wiki.tls.certresolver=production"
networks:
proxy:
external: true

View File

@ -1,4 +0,0 @@
{
"description": "Punk2Punk",
"title": "Kawaii Punk's Walkaway Wiki"
}

File diff suppressed because one or more lines are too long