Compare commits
31
Commits
readme
..
71fa841085
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71fa841085 | ||
|
|
d10473eaca | ||
|
|
1350c2b638 | ||
|
|
824c515fc1 | ||
|
|
65fc741c06 | ||
|
|
15d6959468 | ||
|
|
ea0e8fb831 | ||
|
|
ea5e7d80a1 | ||
|
|
e12af3a0fa | ||
|
|
f2fa4d0062 | ||
|
|
9a925e43b7 | ||
|
|
cfc5c13f16 | ||
|
|
de0a9af376 | ||
|
|
3114b6d1e1 | ||
|
|
e82d3338ea | ||
|
|
09fee968b3 | ||
|
|
b1739d7504 | ||
|
|
ec80bda242 | ||
|
|
c9c77945f6 | ||
|
|
6a29b05320 | ||
|
|
ff43d4a688 | ||
|
|
0c9cc5ccd4 | ||
|
|
a9a04e099f | ||
|
|
108ba31a1a | ||
|
|
e9d399b10c | ||
|
|
1bed9cd5f8 | ||
|
|
3e0f13e49f | ||
|
|
28d9c471a5 | ||
|
|
a2c1477a09 | ||
|
|
ad678df2ce | ||
|
|
ca6c31b91d |
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
.git
|
||||||
|
.venv
|
||||||
|
venv
|
||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
*.db
|
||||||
|
*.sqlite3
|
||||||
|
data/
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
name: Docker Build & Push
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Code auschecken
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Bei Gitea Container Registry anmelden
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: 127.0.0.1:3000
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.token }}
|
||||||
|
|
||||||
|
- name: Docker Image bauen und pushen
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
|
||||||
|
127.0.0.1:3000/rudi/tandur:latest
|
||||||
|
|
||||||
|
release:
|
||||||
|
if: startsWith(gitea.ref, 'refs/tags/v')
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Code auschecken
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Gitea Release erstellen
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
api_key: '${{ secrets.TOKEN }}'
|
||||||
+6
-3
@@ -3,15 +3,18 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# WICHTIG: Ordner für die SQLite-Datenbank (damit die Daten bei Neustarts nicht gelöscht werden)
|
||||||
|
RUN mkdir -p /app/data
|
||||||
|
|
||||||
# Abhängigkeiten installieren
|
# Abhängigkeiten installieren
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir --upgrade pip && \
|
||||||
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Deinen Code kopieren
|
# Deinen Code kopieren
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# WICHTIG: Ordner für die SQLite-Datenbank (damit die Daten bei Neustarts nicht gelöscht werden)
|
|
||||||
RUN mkdir -p /app/data
|
|
||||||
|
|
||||||
# Port freigeben
|
# Port freigeben
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
+12
-7
@@ -1,20 +1,25 @@
|
|||||||
annotated-doc==0.0.5
|
annotated-doc==0.0.5
|
||||||
annotated-types==0.8.0
|
annotated-types==0.8.0
|
||||||
anyio==4.14.2
|
anyio==4.14.2
|
||||||
certifi==2026.7.22
|
argon2-cffi==25.1.0
|
||||||
click==8.4.2
|
argon2-cffi-bindings==26.1.0
|
||||||
|
cffi==2.1.1
|
||||||
|
click==8.5.0
|
||||||
|
cryptography==50.0.1
|
||||||
fastapi==0.141.1
|
fastapi==0.141.1
|
||||||
greenlet==3.5.5
|
greenlet==3.5.5
|
||||||
h11==0.16.0
|
h11==0.16.0
|
||||||
httpcore==1.0.9
|
|
||||||
httpx==0.28.1
|
|
||||||
idna==3.19
|
idna==3.19
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
MarkupSafe==3.0.3
|
MarkupSafe==3.0.3
|
||||||
pydantic==2.13.4
|
pwdlib==0.3.1
|
||||||
pydantic_core==2.46.4
|
pycparser==3.0
|
||||||
|
pydantic==2.13.5
|
||||||
|
pydantic-settings==2.15.0
|
||||||
|
pydantic_core==2.46.5
|
||||||
|
PyJWT==2.13.0
|
||||||
|
python-dotenv==1.2.3
|
||||||
SQLAlchemy==2.0.52
|
SQLAlchemy==2.0.52
|
||||||
sqlmodel==0.0.39
|
|
||||||
starlette==1.6.0
|
starlette==1.6.0
|
||||||
typing-inspection==0.4.4
|
typing-inspection==0.4.4
|
||||||
typing_extensions==4.16.0
|
typing_extensions==4.16.0
|
||||||
|
|||||||
Reference in new issue
Block a user