Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.1] - 2026-05-04

### Added
- Placeholder for future updates and new features.
- HOCON config templates now demonstrate environment variable substitution (closes #95): `dev.conf` and `prod.conf` include `username: ${USERNAME}`, and `docker-compose.yml` passes `ENV` and `USERNAME` environment variables to the container when `config_file=hocon` is selected.

## [1.3.0] - 2026-01-27

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "at-python-template"
version = "1.3.0"
version = "1.3.1"
description = "This is the official Python Project Template of Alexander Thamm GmbH (AT)"
authors = [
"Christian Baur <christian.baur@alexanderthamm.com>",
Expand Down
1 change: 1 addition & 0 deletions {{cookiecutter.project_slug}}/config/dev.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
environment = "dev"
logging.level = DEBUG # overrides the log level that is specified in res/default.conf
username: ${USERNAME}
1 change: 1 addition & 0 deletions {{cookiecutter.project_slug}}/config/prod.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
environment = "prod"
username: ${USERNAME}
5 changes: 5 additions & 0 deletions {{cookiecutter.project_slug}}/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ services:
{% else %}
PYTHON_IMAGE_TAG: "3.9-slim"
{% endif %}
{% if cookiecutter.config_file == 'hocon' %}
environment:
ENV: dev
USERNAME: ${USERNAME:-dear user of the at-python-template}
{% endif %}
command: '{% if cookiecutter.create_cli == "yes" %}--help{% else %}--config /app/config/config.yml{% endif %}'
tty: true