Skip to content

Commit

Permalink
Adding docker-compose / default environment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidaustinarcher committed Jan 20, 2023
1 parent 4d5a273 commit 522ec46
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@ contrast_security.yaml
.terraform.tfstate.lock.info
node_modules
.idea
.github
package-lock.json
terraform.tfvars
terraform.tfvars
/test-results/
/playwright-report/
/playwright/.cache/
/test-results/
/playwright-report/
/playwright/.cache/
/target
.DS_Store
run_local*.sh
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'

services:
web:
image: spring-petclinic:1.5.1
ports:
- '8080:8080'
volumes:
- ./contrast_security.yaml:/etc/contrast/java/contrast_security.yaml
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "servername" {

variable "environment" {
description = "The Contrast environment for the app. Valid values: development, qa or production"
default = "development"
default = ""
}

variable "session_metadata" {
Expand All @@ -30,7 +30,7 @@ variable "session_metadata" {

variable "python_binary" {
description = "Path to local Python binary"
default = "python"
default = "python3"
}

variable "apptags" {
Expand Down

0 comments on commit 522ec46

Please sign in to comment.