0
Fork 0
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:
Gao Sun 2022-10-19 15:10:58 +08:00 committed by GitHub
parent 33c10ce216
commit cdd253dc67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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