Can't figure out what I'm doing wrong in my docker compose file
republicandaddy opened this issue · 3 comments
Hi all. I'm not new to docker, but I RARELY use docker compose to build a container. I usually just use portainer....
So, here's a copy of my compose file.
I've tried various different variations of this, but seem to get constant errors ( to many to list here), but I suspect it's about my formating. Can any of you look at this and see what is wrong with my formating? I've XX'd out my security info, but nothing else is different in the real thing. This is driving me crazy.....with this particular file, I'm getting the error..... unifi-cam-proxy: error: unrecognized arguments: --motion-index=0 --snapshot-channel=1 --ffmpeg-args=-c:a copy -c:v copy -bsf:v "h264_metadata=tick_rate=30000/1001"
version: '3.9' services: unifi-cam: restart: always image: keshavdv/unifi-cam-proxy volumes: - "./client.pem:/client.pem" command: unifi-cam-proxy -H XXX.XXX.XXX.XXX -i XXX.XXX.XXX.XXX -c client.pem -t MYPRIVATEQRCODEKEY \amcrest -u USERNAME -p PASSWORD \ --motion-index=0 \ --snapshot-channel=1 \ --ffmpeg-args='-c:a copy -c:v copy -bsf:v "h264_metadata=tick_rate=30000/1001"'
Any help you all could offer would be apprecaited!
Cheers!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@republicandaddy did you try to not use multiline on command? Reference the docker-compose docs this is either a single line or a list - so i'd try the list version
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.