From 628599205bf4d61d3c79098fc1034b96ce4a169e Mon Sep 17 00:00:00 2001 From: julien Date: Fri, 26 Sep 2025 17:49:06 +0200 Subject: [PATCH] Updates --- restreamer/docker-compose.yaml | 34 ------ windmill/docker-compose.yml | 193 --------------------------------- 2 files changed, 227 deletions(-) delete mode 100644 restreamer/docker-compose.yaml delete mode 100644 windmill/docker-compose.yml diff --git a/restreamer/docker-compose.yaml b/restreamer/docker-compose.yaml deleted file mode 100644 index 02fb0ce..0000000 --- a/restreamer/docker-compose.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# bernie ---- -name: restreamer - -networks: - restreamer: - name: rs_network - -volumes: - config: - name: rs_config - data: - name: rs_data - -services: - restreamer: - container_name: restreamer - image: datarhei/restreamer:latest - restart: unless-stopped - privileged: true #Remove if not using a USB Webcam or Raspicam - ports: - - 8080:8080 - - 8181:8181 - - 1935:1935 - - 1936:1936 - - 6000:6000/udp - devices: - - /dev/video0:/dev/video0 - - /dev/dri:/dev/dri - volumes: - - config:/core/config - - data:/core/data - networks: - - restreamer diff --git a/windmill/docker-compose.yml b/windmill/docker-compose.yml deleted file mode 100644 index f883152..0000000 --- a/windmill/docker-compose.yml +++ /dev/null @@ -1,193 +0,0 @@ -version: "3.7" - -x-logging: &default-logging - driver: "json-file" - options: - max-size: "${LOG_MAX_SIZE:-20m}" - max-file: "${LOG_MAX_FILE:-10}" - compress: "true" - -services: - db: - deploy: - # To use an external database, set replicas to 0 and set DATABASE_URL to the external database url in the .env file - replicas: 1 - image: postgres:16 - shm_size: 1g - restart: unless-stopped - volumes: - - db_data:/var/lib/postgresql/data - expose: - - 5432 - environment: - POSTGRES_PASSWORD: changeme - POSTGRES_DB: windmill - healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres"] - interval: 10s - timeout: 5s - retries: 5 - logging: *default-logging - - windmill_server: - image: ${WM_IMAGE} - pull_policy: always - deploy: - replicas: 1 - restart: unless-stopped - expose: - - 8000 - - 2525 - environment: - - DATABASE_URL=${DATABASE_URL} - - MODE=server - depends_on: - db: - condition: service_healthy - volumes: - - worker_logs:/tmp/windmill/logs - logging: *default-logging - - windmill_worker: - image: ${WM_IMAGE} - pull_policy: always - deploy: - replicas: 3 - resources: - limits: - cpus: "1" - memory: 2048M - # for GB, use syntax '2Gi' - restart: unless-stopped - environment: - - DATABASE_URL=${DATABASE_URL} - - MODE=worker - - WORKER_GROUP=default - depends_on: - db: - condition: service_healthy - # to mount the worker folder to debug, KEEP_JOB_DIR=true and mount /tmp/windmill - volumes: - # mount the docker socket to allow to run docker containers from within the workers - - /var/run/docker.sock:/var/run/docker.sock - - worker_dependency_cache:/tmp/windmill/cache - - worker_logs:/tmp/windmill/logs - logging: *default-logging - - ## This worker is specialized for "native" jobs. Native jobs run in-process and thus are much more lightweight than other jobs - windmill_worker_native: - # Use ghcr.io/windmill-labs/windmill-ee:main for the ee - image: ${WM_IMAGE} - pull_policy: always - deploy: - replicas: 1 - resources: - limits: - cpus: "1" - memory: 2048M - # for GB, use syntax '2Gi' - restart: unless-stopped - environment: - - DATABASE_URL=${DATABASE_URL} - - MODE=worker - - WORKER_GROUP=native - - NUM_WORKERS=8 - - SLEEP_QUEUE=200 - depends_on: - db: - condition: service_healthy - volumes: - - worker_logs:/tmp/windmill/logs - logging: *default-logging - # This worker is specialized for reports or scraping jobs. It is assigned the "reports" worker group which has an init script that installs chromium and can be targeted by using the "chromium" worker tag. - # windmill_worker_reports: - # image: ${WM_IMAGE} - # pull_policy: always - # deploy: - # replicas: 1 - # resources: - # limits: - # cpus: "1" - # memory: 2048M - # # for GB, use syntax '2Gi' - # restart: unless-stopped - # environment: - # - DATABASE_URL=${DATABASE_URL} - # - MODE=worker - # - WORKER_GROUP=reports - # depends_on: - # db: - # condition: service_healthy - # # to mount the worker folder to debug, KEEP_JOB_DIR=true and mount /tmp/windmill - # volumes: - # # mount the docker socket to allow to run docker containers from within the workers - # - /var/run/docker.sock:/var/run/docker.sock - # - worker_dependency_cache:/tmp/windmill/cache - # - worker_logs:/tmp/windmill/logs - - # The indexer powers full-text job and log search, an EE feature. - windmill_indexer: - image: ${WM_IMAGE} - pull_policy: always - deploy: - replicas: 0 # set to 1 to enable full-text job and log search - restart: unless-stopped - expose: - - 8002 - environment: - - PORT=8002 - - DATABASE_URL=${DATABASE_URL} - - MODE=indexer - depends_on: - db: - condition: service_healthy - volumes: - - windmill_index:/tmp/windmill/search - - worker_logs:/tmp/windmill/logs - logging: *default-logging - - lsp: - image: ghcr.io/windmill-labs/windmill-lsp:latest - pull_policy: always - restart: unless-stopped - expose: - - 3001 - volumes: - - lsp_cache:/pyls/.cache - logging: *default-logging - - multiplayer: - image: ghcr.io/windmill-labs/windmill-multiplayer:latest - deploy: - replicas: 0 # Set to 1 to enable multiplayer, only available on Enterprise Edition - restart: unless-stopped - expose: - - 3002 - logging: *default-logging - - caddy: - image: ghcr.io/windmill-labs/caddy-l4:latest - restart: unless-stopped - # Configure the mounted Caddyfile and the exposed ports or use another reverse proxy if needed - volumes: - - ./Caddyfile:/etc/caddy/Caddyfile - - caddy_data:/data - # - ./certs:/certs # Provide custom certificate files like cert.pem and key.pem to enable HTTPS - See the corresponding section in the Caddyfile - ports: - # To change the exposed port, simply change 80:80 to :80. No other changes needed - - 80:80 - - 25:25 - # - 443:443 # Uncomment to enable HTTPS handling by Caddy - environment: - - BASE_URL=":80" - # - BASE_URL=":443" # uncomment and comment line above to enable HTTPS via custom certificate and key files - # - BASE_URL=mydomain.com # Uncomment and comment line above to enable HTTPS handling by Caddy - logging: *default-logging - -volumes: - db_data: null - worker_dependency_cache: null - worker_logs: null - windmill_index: null - lsp_cache: null - caddy_data: null