From 38454618bbbec7b1203db539bd59312237894241 Mon Sep 17 00:00:00 2001 From: human insan Date: Thu, 27 Aug 2026 22:36:29 +0100 Subject: [PATCH] Add Proxmox LXC deployment branch --- .dockerignore | 4 ---- Dockerfile | 18 ------------------ README.md | 20 -------------------- compose.yaml | 12 ------------ 4 files changed, 54 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile delete mode 100644 compose.yaml diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index b0c8b59..0000000 --- a/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -.git -__pycache__ -server.log -*.pyc diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 4236a06..0000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM python:3.13-slim - -RUN apt-get update \ - && apt-get install -y --no-install-recommends ffmpeg \ - && rm -rf /var/lib/apt/lists/* - -WORKDIR /app -COPY server.py index.html README.md ./ - -ENV C41_SOURCE=/data/source \ - C41_OUTPUT=/data/encoded \ - C41_HOST=0.0.0.0 \ - C41_PORT=8765 - -EXPOSE 8765 -VOLUME ["/data/source", "/data/encoded"] - -CMD ["python3", "server.py"] diff --git a/README.md b/README.md index 1c46fa7..e7b24e5 100644 --- a/README.md +++ b/README.md @@ -32,26 +32,6 @@ python3 server.py Open in a browser. -## Docker - -Docker keeps the application and FFmpeg inside a container while the recorder -files remain on the host. From this directory, run: - -```sh -docker compose up -d --build -``` - -Open . The Compose configuration mounts the original -archive read-only at `/data/source` and stores encoded files persistently in -`/data/encoded`. Stop it with: - -```sh -docker compose down -``` - -To use different host folders, edit the two `volumes` entries in -`compose.yaml`. Do not remove `:ro` from the source mount. - ## LXC An unprivileged LXC works without Docker. Install Python and FFmpeg inside the diff --git a/compose.yaml b/compose.yaml deleted file mode 100644 index 7d9f025..0000000 --- a/compose.yaml +++ /dev/null @@ -1,12 +0,0 @@ -services: - c41-player: - build: . - container_name: c41-player - environment: - C41_HOST: 0.0.0.0 - ports: - - "8765:8765" - volumes: - - "/home/human/Videos/Yassine Salon/C41/media:/data/source:ro" - - "/home/human/Videos/Yassine Salon/C41/media-mp4:/data/encoded" - restart: unless-stopped