Multi-store
The nginx mapping file is automatically generated by the entrypoint.sh script of Artifakt. You only need to declare those environment variables to trigger the creation of the mapping file.
Variable | Example | Description |
---|---|---|
MAGENTO_RUN_CODE_DEFAULT | Name: MAGENTO_RUN_CODE_DEFAULT
Value:
wb0 | This variable has to be filled with your default run code in order to trigger the mapping file creation. |
MAGENTO_RUN_CODE_WEBSITEx | Name: MAGENTO_RUN_CODE_WEBSITE1
Value:
test.artifakt.dev wb1 | You can declare as many sites as you want by incrementing the "x" value. wb1 here is the run code of the website. |
MAGENTO_RUN_TYPEy | Name: MAGENTO_RUN_TYPE1
Value:
test.artifakt.dev website | You can declare as many sites as you want by incrementing the "x" value. Every variable will be added in a MAGE_RUN_TYPE block. |
Last modified 10mo ago