Skip to content

Commit

Permalink
Merge pull request #10 from jimbrig/develop
Browse files Browse the repository at this point in the history
Add Missing start.sh script back
  • Loading branch information
jimbrig authored Oct 14, 2021
2 parents 5f147e2 + 18b4b18 commit de3d228
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 1-terraform-docker-container/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# initialize
terraform init

# (optional) Create a plan file
terraform plan -out=plan.tf

# Apply (auto approved for scripting)
terraform apply -auto-approve

# check docker container is running
docker ps

# set an alias for your default browser in windows
alias firefox="/mnt/c/Program\ Files/Firefox\ Developer\ Edition/firefox.exe"

# launch browser to localhost:8000 to verify container running
firefox localhost:8000

0 comments on commit de3d228

Please sign in to comment.