mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
89e3d68168
* ci: dockerize * ci: fix docker compose * ci: run dockerize on master push only * refactor: add .gitignore to .dockerignore
18 lines
427 B
YAML
18 lines
427 B
YAML
# This compose file is for demonstration only, do not use in prod.
|
|
version: "3.9"
|
|
services:
|
|
app:
|
|
depends_on:
|
|
- postgres
|
|
image: logto:latest
|
|
ports:
|
|
- 3001:3001
|
|
environment:
|
|
ALL_YES: 1
|
|
NO_INQUIRY: 0
|
|
DB_URL_DEFAULT: postgres://postgres:p0stgr3s@postgres:5432
|
|
postgres:
|
|
image: postgres:14-alpine
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: p0stgr3s
|