Created
October 26, 2020 08:05
-
-
Save filiptepper/4c996d78bbbde06e9f4619735576588e to your computer and use it in GitHub Desktop.
terraboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# $ AWS_ACCESS_KEY_ID=FOO AWS_SECRET_ACCESS_KEY=BAR docker-compose up | |
# | |
version: "3.7" | |
services: | |
db: | |
image: postgres | |
environment: | |
POSTGRES_USER: gorm | |
POSTGRES_DB: gorm | |
POSTGRES_PASSWORD: gorm | |
healthcheck: | |
test: ["CMD-SHELL", "pg_isready -U gorm -d gorm"] | |
interval: 10s | |
timeout: 5s | |
retries: 5 | |
terraboard: | |
image: camptocamp/terraboard:latest | |
depends_on: | |
db: | |
condition: service_healthy | |
environment: | |
AWS_REGION: eu-west-1 | |
AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}" | |
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}" | |
AWS_BUCKET: hopin-terraform-remote-state | |
AWS_DYNAMODB_TABLE: terraform | |
DB_PASSWORD: gorm | |
DB_SSLMODE: disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment