Skip to content

Instantly share code, notes, and snippets.

@crittermike
Last active July 5, 2018 14:56
Show Gist options
  • Save crittermike/2cbb4c1e116b405ab16c5087f0e59ac7 to your computer and use it in GitHub Desktop.
Save crittermike/2cbb4c1e116b405ab16c5087f0e59ac7 to your computer and use it in GitHub Desktop.
How to create a 2nd web container in Docksal
# 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