Repository navigation
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
62 lines (59 loc) · 1.71 KB
/
Copy pathcompose.dev.yaml
File metadata and controls
62 lines (59 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
postgres:
image: postgres:18-alpine
environment:
POSTGRES_USER: trustcenter
POSTGRES_PASSWORD: trustcenter
POSTGRES_DB: trustcenter
ports:
- host_ip: 127.0.0.1
target: 5432
published: ${POSTGRES_PORT:-5432}
protocol: tcp
name: PostgreSQL
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U trustcenter']
interval: 2s
timeout: 3s
retries: 15
volumes:
- type: volume
source: pgdata
# PG18's PGDATA is /var/lib/postgresql/18/docker, so a volume mounted at
# the legacy /var/lib/postgresql/data is never written to and the database
# lives on the container layer — silently lost on every recreate.
target: /var/lib/postgresql
volume:
labels:
database: ~
mailpit:
image: axllent/mailpit:v1.31.0
ports:
- host_ip: 127.0.0.1
target: 1025
published: ${MAILPIT_SMTP_PORT:-1025}
protocol: tcp
name: Mailpit SMTP
app_protocol: smtp
- host_ip: 127.0.0.1
target: 8025
published: ${MAILPIT_UI_PORT:-8025}
protocol: tcp
name: Mailpit UI
app_protocol: http
dev-idp:
build: ./tools/dev-idp
environment:
ISSUER: http://localhost:5556
# Accepts both the `pnpm dev` origin (5173) and the Playwright e2e preview server (4173):
# See playwright.config.ts's `webServer.env`.
REDIRECT_URIS: http://localhost:5173/auth/callback,http://localhost:4173/auth/callback
ports:
- host_ip: 127.0.0.1
target: 5556
published: ${DEV_IDP_PORT:-5556}
protocol: tcp
name: IdP API
app_protocol: http
volumes:
pgdata: