Skip to content

kdpuvvadi/otf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

otf logo

Docker images for otf, an Open Source alternative to Terraform Cloud.

Docker compose for otf

services:
  postgres:
    image: postgres:16-alpine
    ports:
      - "5432:5432"
    environment:
     - POSTGRES_PASSWORD=postgres

  otfd:
    image: ghcr.io/kdpuvvadi/otf:latest
    container_name: otf
    ports:
      - "8080:8080"
    depends_on:
      postgres:
    environment:
      - OTF_DATABASE=postgres://postgres:postgres@postgres/postgres?sslmode=disable
      - OTF_SECRET=secret
      - OTF_SITE_TOKEN=site-token
      #- OTF_SSL=true
      #- OTF_CERT_FILE=/fixtures/cert.pem
      #- OTF_KEY_FILE=/fixtures/key.pem
      - OTF_LOG_HTTP_REQUESTS=true
      #- SSL_CERT_FILE=/fixtures/cert.pem
      - OTF_HOSTNAME=otf.example.com

Docker compose for otf agent

please refer to documentation on how to generate token for deploying agents

services:
  otf-agent:
    image: ghcr.io/kdpuvvadi/otf-agent:latest
    container_name: otf-agent
    environment:
      - OTF_URL=https://otf.example.com
      - OTF_TOKEN=token
    command: --token OTF_TOKEN --url OTF_URL

About

Docker images for otf, an Open Source alternative to Terraform Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages