Read-only mirror of https://github.com/DCC-BS/deployment-template — Basel-Stadt. Issues & pull requests at the source.
  • Dockerfile 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-27 10:29:59 +01:00
{{cookiecutter.project_slug}} Replace version tag by sha hash 2026-03-27 10:29:59 +01:00
cookiecutter.json refactor: simplify project configuration by removing unused fields and consolidating Docker image setup 2025-12-03 13:27:40 +01:00
README.md update README to reflect changes in deployment template features and configuration, focusing on Docker image creation and SSL certificate handling 2025-12-03 13:32:07 +01:00

Deployment Template

A cookiecutter template for creating a Docker image with SSL certificates.

Quick Start

  1. Create a new deployment repository:
  1. Configure your deployment:
    • Repository URLs for your projects
    • Docker image name

Certificate Installation

One of the key features of this template is automatic certificate installation into Docker images. This is useful when your applications need to trust custom Certificate Authorities or internal certificates.

Configuration

Certificate installation is configured during template creation:

{
    "project_slug": "my-deployment",
    "docker_image_name": "ghcr.io/my-org/my-image"
}

Certificate Files

Place your certificate files in the assets/ directory:

assets/
├── company-root-ca.crt
└── custom-cert.crt

Supported formats: .crt

Template Variables

Variable Description Example
project_slug Name of the deployment project my-app-deployment
docker_image_name Name of the Docker image ghcr.io/my-org/my-image

Supported Base Images

Certificate installation works with:

  • Debian/Ubuntu: Uses apt-get and update-ca-certificates
  • Alpine Linux: Uses apk and update-ca-certificates

License

This template is released under the MIT License.