infinite-industries / infinite

MIT License
5 stars 3 forks source link

Add Environment Parameters to docker-compose in ansible #327

Closed chriswininger closed 1 year ago

chriswininger commented 1 year ago

There is a minor issue with the ansible deploy scripts. The docker-compose file for staging and prod is identical except that one uses the :development tag and one uses the :master tag https://github.com/infinite-industries/infinite/blob/65349aedce2f4903aaf33f4e57f8b3ce70b42c89/ansible/docker-files/docker-compose.yml#L4.

This should be driven by environment settings on the machine used to run the ansible script such that when you are running ansible against staging this tag is written out as :development or conversely :master for production.

This should be easy

chriswininger commented 1 year ago

587e32a713bc02c0df57d49f612454776b3820a2