Roundcube Community Forum

 

Installed Roundcube plugins disappear after the container is rebuilt

Started by sharbich, Today at 06:41:55 AM

Previous topic - Next topic

sharbich

Hi everyone,
i've set up roundcubemail using a Docker Composer file.

  roundcubemail:
    container_name: roundcubemail
    image: roundcube/roundcubemail:nightly
    restart: unless-stopped
    ports:
    - '8084:80'
    environment:
      # Database Variables
      ROUNDCUBEMAIL_DB_TYPE: 'pgsql'
      ROUNDCUBEMAIL_DB_HOST: '192.168.20.60'
      ROUNDCUBEMAIL_DB_NAME: 'roundcubemaildb'
      ROUNDCUBEMAIL_DB_USER: 'roundcubemaildbuser'
      ROUNDCUBEMAIL_DB_PASSWORD: '###################'
      # Mail Variables
      ROUNDCUBEMAIL_DEFAULT_HOST: 'ssl://dsme01.intern.example.com'
      ROUNDCUBEMAIL_DEFAULT_PORT: '993'
      ROUNDCUBEMAIL_SMTP_SERVER: 'ssl://dsme01.intern.example.com'
      ROUNDCUBEMAIL_SMTP_PORT: '465'
      ROUNDCUBEMAIL_USERNAME_DOMAIN: 'example.com'
      ROUNDCUBEMAIL_PLUGINS: 'debug_logger,new_user_identity,password'
      ROUNDCUBEMAIL_INSTALL_PLUGINS: 'true'
      ROUNDCUBEMAIL_SKIN: 'elastic'
    volumes:
      - /var/lib/docker/volumes/roundcubemail/_data:/var/www/html/config
      - /etc/ssl/certs:/etc/ssl/certs

Afterwards, I installed four plugins, including their dependencies, on the container's console.

- roundcube/carddav
- kolab/libkolab
- kolab/libcalendaring
- kolab/calendar

Now I'm having a problem: when I rebuild, the four plugins I installed via the console aren't being built. How can I add them to my Docker Composer file?

So that all plugins are automatically installed when rebuilding?

Regards, Stefan Harbich