Created
September 14, 2019 09:57
-
-
Save markwylde/9d93754639677b52678e08b5149bb9a8 to your computer and use it in GitHub Desktop.
Auth Stack
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
version: "3.7" | |
services: | |
auth-ui: | |
image: msplat/auth-ui:local | |
build: ./ui/ | |
ports: | |
- 9180:80 | |
volumes: | |
- ./ui:/app | |
- /app/node_modules | |
networks: | |
- default | |
- web | |
deploy: | |
labels: | |
- "traefik.frontend.rule=PathPrefixStrip:/;Host:sso.msplat.test" | |
- "traefik.port=80" | |
environment: | |
DEBUG_LOGGING: 'true' | |
NODE_ENV: 'development' | |
auth-api: | |
image: msplat/auth-api:local | |
build: ./api/ | |
ports: | |
- 9181:80 | |
volumes: | |
- ./api:/app | |
- /app/node_modules | |
networks: | |
- default | |
- web | |
deploy: | |
labels: | |
- "traefik.frontend.rule=PathPrefixStrip:/api;Host:sso.msplat.test" | |
- "traefik.port=80" | |
environment: | |
DB_HOST: auth-db | |
DB_NAME: auth | |
DEBUG_LOGGING: 'true' | |
NODE_ENV: 'development' | |
APP_PUBLIC_URL: https://sso.msplat.test | |
auth-db: | |
image: rethinkdb | |
ports: | |
- 9188:8080 | |
networks: | |
web: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment