Rename the Go module, the cmd/ entrypoint dir, the binary, the default config dir (~/.config/av1dae/), the Docker image/compose service, and all docs and the dashboard wordmark. No behavioral change — import paths and identifiers only.
21 lines
840 B
YAML
21 lines
840 B
YAML
services:
|
|
av1dae:
|
|
build: .
|
|
container_name: av1dae
|
|
restart: unless-stopped
|
|
# Cap CPU/RAM so a long SVT-AV1 encode can't starve the host. Tune to taste.
|
|
# `podman compose` honors deploy.resources; `podman-compose` (python) wants
|
|
# the short keys instead — cpus: 4.0 / mem_limit: 4g / cpuset: "0-3".
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "8.0"
|
|
memory: 4g
|
|
ports:
|
|
- "8080:8080" # status server: GET http://host:8080/status (needs http_addr: ":8080" in config)
|
|
volumes:
|
|
- ./data/config.yaml:/config/config.yaml:ro # your config — paths inside must point at /data/*
|
|
- ./data/media:/data # holds input/ output/ originals/ failed/ work/ + logs
|
|
# Uncomment to delete originals after a successful encode (appends -d to the entrypoint):
|
|
# command: ["-d"]
|