Multi-site and domains in CI/CD pipeline


(Lorenz Ulrich) #1

In a multi-site setup, defining a domain for a site is important so Neos knows which domain points to which site.

I’m looking for an ideal way to handle this with the CI/CD pipeline. So we assume that I want to use the following domains:

What is the suggested way to handle this? In TYPO3 environments, we just update the Domain record with an SQL query on deployment. Is there a better way to handle this in Neos or is updating neos_neos_domain_model_domain the best way?


(Soren Malling) #2

You could use the cli command domain:add

http://neos.readthedocs.io/en/stable/Operations/CommandLine.html#site-management