Last active
June 19, 2020 18:23
-
-
Save mariohernandez/2806299cd8604a4d400c3c2e55314f73 to your computer and use it in GitHub Desktop.
patternlab docker-compose*.yaml
This file contains 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
# docker-compose.patternlab.com to pass port 3000 inside the container | |
# to https://<something>.ddev.site:3001 | |
version: '3.6' | |
services: | |
web: | |
ports: | |
# Expose port 3000 for the patternlab app | |
- "3001" | |
environment: | |
# Override the web container's standard HTTP_EXPOSE and HTTPS_EXPOSE | |
# to place the patternlab server on https://<something>.ddev.site:3001 | |
# or http://<something>.ddev.site:3001 | |
- HTTP_EXPOSE=${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}:8025,3001:3001 | |
# - HTTPS_EXPOSE=${DDEV_ROUTER_HTTPS_PORT}:80,${DDEV_MAILHOG_HTTPS_PORT}:8025,3001:3001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment