From cdd253dc67edd343ca31c6aedd61eb9252154089 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 19 Oct 2022 15:10:58 +0800 Subject: [PATCH] chore: update docker compose file (#2199) --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9a0f21562..272425b10 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,14 +6,12 @@ services: postgres: condition: service_healthy image: ghcr.io/logto-io/logto:${TAG-latest} + entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"] ports: - 3001:3001 environment: - - ALL_YES=1 - - NO_INQUIRY=0 - TRUST_PROXY_HEADER=1 - - DB_URL_DEFAULT=postgres://postgres:p0stgr3s@postgres:5432 - - ENDPOINT + - DB_URL=postgres://postgres:p0stgr3s@postgres:5432 postgres: image: postgres:14-alpine user: postgres