Simple gateway API for terraform command line tool.
Start docker container with Terragate.
docker run -d -p 80:80 jandini/terragate
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
configurationWORKDIR /app ADD appsettings.json .
Created from JandaBox