Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

feat: Add timezone config in app container

Karan Sharmae4d8286535b4
diff --git a/Dockerfile b/Dockerfile
index 9077201c..fe95f307 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
FROM alpine:latest
-RUN apk --no-cache add ca-certificates
+RUN apk --no-cache add ca-certificates tzdata
WORKDIR /listmonk
COPY listmonk .
COPY config.toml.sample config.toml
diff --git a/docker-compose.yml b/docker-compose.yml
index 8f09d3a1..2a22c431 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -11,6 +11,8 @@ x-app-defaults: &app-defaults
- "9000:9000"
networks:
- listmonk
+ environment:
+ - TZ=Etc/UTC
x-db-defaults: &db-defaults
image: postgres:13