I don't know how to set the time zone variable, an example that works is mariadb:latest, amazoncorretto:21
this is example docker-compose.yaml:
version: '3.8'
server-a:
container_name: server-a
image: mendhak/http-https-echo
environment:
TZ: Europe/Warsaw
ports:
- "8091:8080"