mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore: update docker compose file (#2199)
This commit is contained in:
parent
33c10ce216
commit
cdd253dc67
1 changed files with 2 additions and 4 deletions
|
@ -6,14 +6,12 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
image: ghcr.io/logto-io/logto:${TAG-latest}
|
image: ghcr.io/logto-io/logto:${TAG-latest}
|
||||||
|
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
||||||
ports:
|
ports:
|
||||||
- 3001:3001
|
- 3001:3001
|
||||||
environment:
|
environment:
|
||||||
- ALL_YES=1
|
|
||||||
- NO_INQUIRY=0
|
|
||||||
- TRUST_PROXY_HEADER=1
|
- TRUST_PROXY_HEADER=1
|
||||||
- DB_URL_DEFAULT=postgres://postgres:p0stgr3s@postgres:5432
|
- DB_URL=postgres://postgres:p0stgr3s@postgres:5432
|
||||||
- ENDPOINT
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
user: postgres
|
user: postgres
|
||||||
|
|
Loading…
Reference in a new issue