Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

timezone mapping for database and host in docker-compose.yml - fixes #166

Dane Schneider0f75cf1e3d54
diff --git a/app/docker-compose.yml b/app/docker-compose.yml
index 6d56dfd7..2daf1023 100644
--- a/app/docker-compose.yml
+++ b/app/docker-compose.yml
@@ -9,6 +9,8 @@ services:
volumes:
- ./scripts/init-db:/docker-entrypoint-initdb.d
- ${PGDATA_DIR}:/var/lib/postgresql/data
+ - /etc/timezone:/etc/timezone:ro
+ - /etc/localtime:/etc/localtime:ro
networks:
- plandex-network
plandex-server:
@@ -17,6 +19,8 @@ services:
dockerfile: Dockerfile.server
volumes:
- "${PLANDEX_DATA_DIR}:${PLANDEX_BASE_DIR}"
+ - /etc/timezone:/etc/timezone:ro
+ - /etc/localtime:/etc/localtime:ro
ports:
- "8080:8080"
env_file: