Last active
July 5, 2018 14:56
-
-
Save crittermike/2cbb4c1e116b405ab16c5087f0e59ac7 to your computer and use it in GitHub Desktop.
How to create a 2nd web container in Docksal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Web 2 (name it anything you want, doesn't have to be "web2") | |
web2: | |
extends: | |
file: ${HOME}/.docksal/stacks/services.yml | |
service: web | |
environment: | |
- APACHE_DOCUMENTROOT=/var/www/your-web2-directory | |
labels: | |
- io.docksal.virtual-host=web2.${VIRTUAL_HOST} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment