services: devcontainer: container_name: devcontainer build: context: .. dockerfile: .devcontainer/Dockerfile volumes: - ../..:/workspaces:cached network_mode: service:zipline command: sleep infinity postgres: container_name: zipline-database image: postgres:16 restart: unless-stopped environment: POSTGRES_USER: zipline POSTGRES_PASSWORD: zipline POSTGRES_DATABASE: zipline volumes: - pg_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5 zipline: container_name: zipline image: ghcr.io/diced/zipline:v4 environment: CORE_SECRET: "4Q8PrvM8Vwe9yRSRsCuwTdQUSXLYkgt9Gvdg/7/qPgQ=" CORE_HOSTNAME: 0.0.0.0 DATABASE_URL: postgres://zipline:zipline@postgres:5432/zipline DATASOURCE_TYPE: local DATASOURCE_LOCAL_DIRECTORY: /zipline/uploads restart: unless-stopped volumes: - data:/zipline/public - themes:/zipline/themes - uploads:/zipline/uploads depends_on: - "postgres" healthcheck: test: ["CMD-SHELL", "wget -q --spider http://localhost:3001 || exit 1"] interval: 10s timeout: 5s retries: 5 volumes: pg_data: data: themes: uploads: