docker run -d \
--name=convertarr \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-p 8080:8080 \
-v /path/to/data:/app/database \
-v /path/to/videofiles:/videofiles `#optional` \
--restart unless-stopped \
kirari04/convertarr:latest
or using docker-compose
---
services:
convertarr:
image: kirari04/convertarr:latest
container_name: convertarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/data:/app/database
- /path/to/videofiles:/videofiles #optional
ports:
- 8080:8080
restart: unless-stopped
go run main.go serve
templ generate --watch
docker build --platform linux/amd64 -t kirari04/convertarr:latest --push .