Skip to content

Instantly share code, notes, and snippets.

@ivorscott
Created June 5, 2020 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivorscott/6078dd8225c7da7ce6913a84c384c3c6 to your computer and use it in GitHub Desktop.
Save ivorscott/6078dd8225c7da7ce6913a84c384c3c6 to your computer and use it in GitHub Desktop.
client:
build:
context: ./client
target: dev
ports:
- 3000:3000
volumes:
- ./client:/client/app
- /client/app/node_modules
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.client.tls=true"
- "traefik.http.routers.client.rule=Host(`client.local`)"
- "traefik.http.routers.client.entrypoints=websecure"
- "traefik.http.services.client.loadbalancer.server.port=3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment