feat: add local date in docker-compose files

This commit is contained in:
2025-07-12 17:10:20 +02:00
parent b9884d6560
commit fa1ee4dd64
13 changed files with 89 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ services:
ports:
- 127.0.0.1:${MONGODB_PORT:-27017}:${MONGODB_PORT:-27017}
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ${MONGODB_PATH:-./mongodb}:/data/db
# TODO: add auth
@@ -18,6 +20,9 @@ services:
build:
context: "."
dockerfile: Dockerfile
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
depends_on:
- mongo
@@ -34,5 +39,8 @@ services:
- ME_CONFIG_MONGODB_AUTH_DATABASE=chatgpt_telegram_bot
- ME_CONFIG_BASICAUTH_USERNAME=${MONGO_EXPRESS_USERNAME:-username}
- ME_CONFIG_BASICAUTH_PASSWORD=${MONGO_EXPRESS_PASSWORD:-password}
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
depends_on:
- mongo