docker
docker copied to clipboard
start container in read-only with bind volumes: `php-wallabag.template.ini` is missing
Hello, I'm currently creating an ansible-role to run the wallabag container with the mash-playbook.
This is my docker command
docker create \
--rm \
--name=mash-wallabag \
--log-driver=none \
--user=999:1001 \
--cap-drop=ALL \
--label-file=/mash/wallabag/config/labels \
--network=mash-wallabag \
--mount type=bind,src=/mash/wallabag/data,dst=/var/www/wallabag \
--mount type=bind,src=/mash/wallabag/config/etc/wallabag,dst=/etc/ \
--read-only \
--tmpfs=/tmp:rw,noexec,nosuid,size=100m \
--env-file=/mash/wallabag/config/env \
docker.io/wallabag/wallabag:2.6.9
First I encounter this error:
/entrypoint.sh: line 30: can't open /etc/wallabag/parameters.template.yml: no such file
After manually coping root/etc/wallabag/parameters.template.yml from this git repo to /mash/wallabag/config/etc/wallabag on the server, I got the next error:
/entrypoint.sh: line 31: can't open /etc/wallabag/php-wallabag.template.ini: no such file
I can't finde the php-wallabag.template.ini file itself or it being mentioned somewhere in the entrypoint.sh script.
It would be great, if someone could give me a hint, where I'm stuck.
https://github.com/Bergruebe/ansible-role-wallabag