Skip to content

Commit

Permalink
modified: IMOMaritimeSingleWindow/Server/SqlScripts/Dockerfile
Browse files Browse the repository at this point in the history
	modified:   terraform/db.tf
  • Loading branch information
vrsorheim committed Jul 7, 2024
1 parent 22a5c9d commit 7de5c90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions IMOMaritimeSingleWindow/Server/SqlScripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ WORKDIR /workspaces/verify

RUN apt-get update && apt-get install -y postgresql-client


CMD ["sh", "-c", "psql -h $PGHOST -U $PGUSER -d $PGDATABASE -c 'SELECT * FROM country;'"]
5 changes: 4 additions & 1 deletion terraform/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ resource "azurerm_container_group" "db_verifier" {
image = "crimomsw.azurecr.io/db-verifier:latest"
cpu = "0.5"
memory = "1.5"

ports {
port = 443
protocol = "TCP"
}
environment_variables = {
PGHOST = "imo-dev-psqlflexibleserver-1.postgres.database.azure.com"
PGUSER = "postgres"
Expand Down

0 comments on commit 7de5c90

Please sign in to comment.