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

Custom config not persist? config.docker.inc.php #217

Open
hermesalvesbr opened this issue May 21, 2023 · 2 comments
Open

Custom config not persist? config.docker.inc.php #217

hermesalvesbr opened this issue May 21, 2023 · 2 comments

Comments

@hermesalvesbr
Copy link

Captura de tela de 2023-05-20 21-20-35

I put the html to persist, in desperation I put html/config too.

Then I modify the config.docker.inc.php , when I restart the container, everything is lost. I already checked on my server, and the files are persisted. I've also tried to edit inside the container (docker exec -it) and also directly on the server (nvim config.docker.inc.php)

The settings work beautifully, but when restarting the container, it doesn't work anymore. What am I doing wrong?

Should I inform new configs in the ENV of the container?

@hermesalvesbr
Copy link
Author

I saw this when reboot the container:

Write Docker config to /var/www/html/config/config.docker.inc.php

How can block this?

@kwisatz
Copy link

kwisatz commented May 26, 2023

I saw this when reboot the container:

Write Docker config to /var/www/html/config/config.docker.inc.php

How can block this?

You probably shouldn't. Custom configuration goes into custom.php

  rcapp:
    image: roundcube/roundcubemail:latest-apache
    restart: always
    depends_on:
      - rcdb
    volumes:
      - ./data/conf/rcapp:/var/roundcube/config:ro,Z
    environment:
     […]

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

2 participants