Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.19 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.19 KB

Terragate

Docker Image CI

Simple gateway API for terraform command line tool.

Quick start

Start docker container with Terragate.

docker run -d -p 80:80 jandini/terragate

Customize

You can create your own image and customize it to your needs with new Dockerfile.

FROM jandini/terragate 
WORKDIR /app
EXPOSE 80
EXPOSE 443
# customize the image
ENTRYPOINT ["dotnet", "Terragate.Api.dll"]

You can customize the image...

  • Add certificates

    # Add certificates from url or local path 
    ADD https://... /usr/local/share/ca-certificates/
    RUN update-ca-certificates
  • Configure variables

    # Add Swagger UI
    ENV ASPNETCORE_ENVIRONMENT=Development
    # Rename the application
    ENV APPLICATION_NAME=MyTerragate
    # Override application version
    ENV APPLICATION_VERSION=1.2.3
  • Add your own appsettings.json configuration

    WORKDIR /app
    ADD appsettings.json .


Created from JandaBox