Revert "[feature] Configurable timezone in containers (#2046)" (#2048)

This reverts commit 96dd0e75f2.
This commit is contained in:
tobi 2023-08-01 12:31:50 +02:00 committed by GitHub
parent 96dd0e75f2
commit 70929c1691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -21,8 +21,6 @@ RUN yarn install --cwd web/source && \
# stage 3: build the executor container # stage 3: build the executor container
FROM --platform=${TARGETPLATFORM} alpine:3.17.2 as executor 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 # switch to non-root user:group for GtS
USER 1000:1000 USER 1000:1000

View file

@ -13,7 +13,6 @@ services:
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
GTS_LETSENCRYPT_ENABLED: "false" GTS_LETSENCRYPT_ENABLED: "false"
GTS_LETSENCRYPT_EMAIL_ADDRESS: "" GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
#TZ: "UTC"
## For reverse proxy setups: ## For reverse proxy setups:
# GTS_TRUSTED_PROXIES: "172.x.x.x" # GTS_TRUSTED_PROXIES: "172.x.x.x"
ports: ports:
@ -24,8 +23,6 @@ services:
#- "127.0.0.1:8080:8080" #- "127.0.0.1:8080:8080"
volumes: volumes:
- ~/gotosocial/data:/gotosocial/storage - ~/gotosocial/data:/gotosocial/storage
#- /etc/localtime:/etc/localtime:ro
#- /etc/timezone:/etc/timezone:ro
restart: "always" restart: "always"
networks: networks: