Create more priority colors

Infos:

  • Used Zammad version: 5.2.1-35
  • Used Zammad installation type: docker-compose
  • Operating system: Ubuntu 20.04
  • Browser + version:

I have created more priorities to have a more granular way of prioritize tickets and I want to create more colors to match the different priorities.

I have found guides that explain how to create a custom.css file under /opt/zammad/app/assets/stylesheets/custom.

But since I use docker-compose I can’t make that file persistent, it seems like the init docker is deleting the file everytime I restart docker.

How can I create a custom.css file in docker-compose?

Thanks!

you could just volume mount the file on that path, just add the mapping the volume: section of your compose file.

I just tried that but then docker cannot start because the Init container is trying to delete the file custom.css but cannot delete it

maybe just only mount it on the rails container

Hi have mounted it like this in the compose.yml:
zammad-railsserver:
command: [“zammad-railsserver”]
depends_on:
- zammad-memcached
- zammad-postgresql
- zammad-redis
environment:
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
- REDIS_URL=${REDIS_URL}
- TZ=Europe/Stockholm
image: ${IMAGE_REPO}:zammad${VERSION}
restart: ${RESTART}
volumes:
- zammad-data:/opt/zammad
- /docker/zammad/custom-css/custom.css:/opt/zammad/app/assets/stylesheets/custom/custom.css

The file custom.css exists in that directory on my local Linux host but it is not created in /opt/zammad/app…

What am I missing here?