fix: keep only project subdirectory files

This commit is contained in:
2026-03-05 17:22:34 +01:00
commit 0e1cb7cfe9
8 changed files with 959 additions and 0 deletions

43
README.md Normal file
View File

@@ -0,0 +1,43 @@
# tetris-web
Ein spielbares Tetris als Webapplikation im Docker-Container.
## Lokal starten
```bash
npm install
npm start
# dann: http://localhost:8080
```
## Docker
```bash
docker build -t registry.aquantico.lan/tetris-web:latest .
docker run --rm -p 8080:8080 registry.aquantico.lan/tetris-web:latest
```
## Portainer Stack (Copy/Paste)
```yaml
services:
tetris-web:
image: registry.aquantico.lan/tetris-web:latest
container_name: tetris-web
restart: always
networks:
- traefik
environment:
- PORT=8080
labels:
- "traefik.enable=true"
- "traefik.http.routers.tetris-web.rule=Host(`tetris.aquantico.lan`)"
- "traefik.http.routers.tetris-web.entrypoints=websecure"
- "traefik.http.routers.tetris-web.tls=true"
- "traefik.http.services.tetris-web.loadbalancer.server.port=8080"
- "traefik.docker.network=traefik"
networks:
traefik:
external: true
```