Skip to content

Commit

Permalink
Update Dockerfiles (#451)
Browse files Browse the repository at this point in the history
* remove endorsement reminder from local

* specify ef version
  • Loading branch information
Paahn authored Jan 4, 2024
1 parent c153af7 commit be10b88
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 58 deletions.
2 changes: 1 addition & 1 deletion backend/services.plr-intake/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0

WORKDIR /vsdbg

RUN dotnet tool install --global dotnet-ef
RUN dotnet tool install --global dotnet-ef --version 6
ENV PATH="${PATH}:/root/.dotnet/tools"

ENV DOTNET_USE_POLLING_FILE_WATCHER 1
Expand Down
2 changes: 1 addition & 1 deletion backend/webapi/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0

WORKDIR /vsdbg

RUN dotnet tool install --global dotnet-ef
RUN dotnet tool install --global dotnet-ef --version 6
ENV PATH="${PATH}:/root/.dotnet/tools"

ENV DOTNET_USE_POLLING_FILE_WATCHER 1
Expand Down
56 changes: 0 additions & 56 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,62 +123,6 @@ services:
networks:
- pidp-net

###############################################################################
### Endorsement Reminder ###
###############################################################################
endorsement-reminder:
container_name: endorsement-reminder
image: endorsement-reminder
build:
context: backend/
dockerfile: services.endorsement-reminder/Dockerfile
environment:
- name: MailServer__EnableSsl
valueFrom:
configMapKeyRef:
name: mail-settings
key: MailServer__EnableSsl
- name: MailServer__Url
valueFrom:
configMapKeyRef:
name: mail-settings
key: MailServer__Url
- name: MailServer__Port
valueFrom:
configMapKeyRef:
name: mail-settings
key: MailServer__Port
- name: ASPNETCORE_ENVIRONMENT
value: Staging
- name: DB_HOST
valueFrom:
configMapKeyRef:
name: database-cm
key: database-host
- name: POSTGRESQL_PASSWORD
valueFrom:
secretKeyRef:
name: dev-patroni-secret
key: app-db-password
- name: POSTGRESQL_USER
valueFrom:
secretKeyRef:
name: dev-patroni-secret
key: app-db-username
- name: POSTGRESQL_DATABASE
valueFrom:
secretKeyRef:
name: dev-patroni-secret
key: app-db-name
- name: ConnectionStrings__PidpDatabase
value: >-
Host=$(DB_HOST);Port=5432;Database=$(POSTGRESQL_DATABASE);Username=$(POSTGRESQL_USER);Password=$(POSTGRESQL_PASSWORD)
- name: ApplicationUrl
value: 'https://dev.healthprovideridentityportal.gov.bc.ca'
networks:
- pidp-net
profiles: ["endorsement-reminder"]

###############################################################################
### Mailhog ###
###############################################################################
Expand Down

0 comments on commit be10b88

Please sign in to comment.