From ceea6b5f8a93960b6a8820c13e4f5cdb8136722a Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 29 Jan 2025 04:49:05 -0600 Subject: [PATCH] fix: fix the zipline container's restart loop --- .devcontainer/docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 68e6330..79c6af8 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -1,10 +1,13 @@ -version: "3" services: devcontainer: container_name: devcontainer build: context: .. dockerfile: .devcontainer/Dockerfile + volumes: + - ../..:/workspace:cached + network_mode: service:zipline + command: sleep infinity postgres: container_name: zipline-database @@ -26,7 +29,7 @@ services: container_name: zipline image: ghcr.io/diced/zipline:v4 environment: - CORE_SECRET: "secret" + CORE_SECRET: "4Q8PrvM8Vwe9yRSRsCuwTdQUSXLYkgt9Gvdg/7/qPgQ=" CORE_PORT: 3001 CORE_HOSTNAME: 0.0.0.0 DATABASE_URL: postgres://zipline:zipline@postgres:5432/zipline