How to properly manage mupltiple environmental variables with Gitlab CI and Docker Swarm?
There is stages in gitlab ci and on 'docker build' stage I don't need ALL env variables. Usually its only a REACT_APP_SERVER_URI variable.
Later I use env file in compose.yml like you are. 

env_file:
  - ./envs/common.env