Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

add auth server #7

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ services:
ports:
- "3030:3030"

# fxa-auth-server
auth:
command: node bin/key_server.js
environment:
NODE_ENV: "dev"
HOST: "0.0.0.0"
image: mozilla/fxa-auth-server
depends_on:
auth-db-mysql:
condition: service_healthy
ports:
- "9000:9000"

# fxa-oauth-server
oauth-web:
command: node bin/server.js
Expand All @@ -31,6 +44,12 @@ services:
image: mozilla/fxa-auth-db-mysql
ports:
- "8000:8000"
healthcheck:
test: curl --fail http://127.0.0.1:8000/ || exit 1
interval: 2s
timeout: 5s
retries: 30

# fxa-profile-server
profile-web:
command: node scripts/run_dev.js
Expand Down