summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-08-01 12:31:50 +0200
committerLibravatar GitHub <noreply@github.com>2023-08-01 12:31:50 +0200
commit70929c16917656d1a4f5fe25f9b4274717444d9f (patch)
tree76f7b69cc1da57ca10b71c57abf1892575bea100
parent[feature] Configurable timezone in containers (#2046) (diff)
downloadgotosocial-70929c16917656d1a4f5fe25f9b4274717444d9f.tar.xz
Revert "[feature] Configurable timezone in containers (#2046)" (#2048)
This reverts commit 96dd0e75f20a1f1f8203f3438ae7a82d260a0ef8.
-rw-r--r--Dockerfile2
-rw-r--r--example/docker-compose/docker-compose.yaml3
2 files changed, 0 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 6b0c3b4cd..c7bcdfcb6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,8 +21,6 @@ RUN yarn install --cwd web/source && \
# stage 3: build the executor container
FROM --platform=${TARGETPLATFORM} alpine:3.17.2 as executor
-RUN apk add --no-cache tzdata
-ENV TZ="UTC"
# switch to non-root user:group for GtS
USER 1000:1000
diff --git a/example/docker-compose/docker-compose.yaml b/example/docker-compose/docker-compose.yaml
index 87f2cb8d4..429088934 100644
--- a/example/docker-compose/docker-compose.yaml
+++ b/example/docker-compose/docker-compose.yaml
@@ -13,7 +13,6 @@ services:
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
GTS_LETSENCRYPT_ENABLED: "false"
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
- #TZ: "UTC"
## For reverse proxy setups:
# GTS_TRUSTED_PROXIES: "172.x.x.x"
ports:
@@ -24,8 +23,6 @@ services:
#- "127.0.0.1:8080:8080"
volumes:
- ~/gotosocial/data:/gotosocial/storage
- #- /etc/localtime:/etc/localtime:ro
- #- /etc/timezone:/etc/timezone:ro
restart: "always"
networks: