Skip to content

Commit

Permalink
make all other services connect over https
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbonnell committed May 20, 2020
1 parent ef2ceeb commit 11c1663
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ services:
- google_application_credentials
labels:
- "traefik.enable=true"
- "traefik.http.routers.proximity_app.rule=PathPrefix(`/proximity`)"
- "traefik.http.routers.proximity_app.entrypoints=web"
- "traefik.http.routers.proximity_app.rule=Host(`spatiumsocialis.com`) && PathPrefix(`/proximity`)"
- "traefik.http.routers.proximity_app.entrypoints=websecure"
- "traefik.http.routers.proximity_app.tls.certresolver=myresolver"
proximity_consumer:
image: ${GOOGLE_GCR_HOSTNAME}/${GOOGLE_PROJECT_ID}/proximity_consumer:latest
environment:
Expand All @@ -134,8 +135,9 @@ services:
- google_application_credentials
labels:
- "traefik.enable=true"
- "traefik.http.routers.scoring_app.rule=PathPrefix(`/scores`)"
- "traefik.http.routers.scoring_app.entrypoints=web"
- "traefik.http.routers.scoring_app.rule=Host(`spatiumsocialis.com`) && PathPrefix(`/scores`)"
- "traefik.http.routers.scoring_app.entrypoints=websecure"
- "traefik.http.routers.scoring_app.tls.certresolver=myresolver"
scoring_consumer:
image: ${GOOGLE_GCR_HOSTNAME}/${GOOGLE_PROJECT_ID}/scoring_consumer:latest
environment:
Expand Down Expand Up @@ -165,8 +167,9 @@ services:
- google_application_credentials
labels:
- "traefik.enable=true"
- "traefik.http.routers.location-app.rule=PathPrefix(`/location`)"
- "traefik.http.routers.location-app.entrypoints=web"
- "traefik.http.routers.location_app.rule=Host(`spatiumsocialis.com`) && PathPrefix(`/location`)"
- "traefik.http.routers.location_app.entrypoints=websecure"
- "traefik.http.routers.location_app.tls.certresolver=myresolver"
db:
image: postgres:latest
environment:
Expand Down

0 comments on commit 11c1663

Please sign in to comment.