Self-host installation docs require me to set `shm_size` on docker swarm despite the feature missing from swarm

The gitlab docs specify a shm_size directive in the example compose file for docker swarm despite the fact that it is impossible to set shm size yet. Are there any workarounds for this? It would also be nice for the docs to actually be updated to account for this.