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