Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start container in read-only with bind volumes: php-wallabag.template.ini is missing #413

Open
Bergruebe opened this issue Apr 24, 2024 · 0 comments

Comments

@Bergruebe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant