mirror of
https://github.com/DCC-BS/deployment-template.git
synced 2026-08-26 10:24:16 +00:00
Read-only mirror of https://github.com/DCC-BS/deployment-template — Basel-Stadt. Issues & pull requests at the source.
- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| {{cookiecutter.project_slug}} | ||
| cookiecutter.json | ||
| README.md | ||
Deployment Template
A cookiecutter template for creating a Docker image with SSL certificates.
Quick Start
- Create a new deployment repository:
- 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-getandupdate-ca-certificates - Alpine Linux: Uses
apkandupdate-ca-certificates
License
This template is released under the MIT License.