-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (49 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
54 lines (49 loc) · 1.39 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
# Base configuration - shared across all environments
# Environment-specific settings should go in:
# - docker-compose.override.yml (dev - auto-loaded)
# - docker-compose.prod.yml (production)
# - docker-compose.staging.yml (staging)
services:
web:
build:
context: .
args:
NEXT_PUBLIC_SAFE_KEY: ${NEXT_PUBLIC_SAFE_KEY}
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL}
NEXT_PUBLIC_UMAMI_URL: ${NEXT_PUBLIC_UMAMI_URL}
NEXT_PUBLIC_UMAMI_WEBSITE_ID: ${NEXT_PUBLIC_UMAMI_WEBSITE_ID}
ports:
- "3000:3000"
depends_on:
db:
condition: service_healthy
ai-img-validator:
condition: service_started
system-profiler:
condition: service_started
labels:
- "com.rioredwards.stack=pi-site"
system-profiler:
build: ./system-profiler
labels:
- "com.rioredwards.stack=pi-site"
ai-img-validator:
image: pi-site/ai-img-validator:stable
labels:
- "com.rioredwards.stack=pi-site"
db:
image: postgres:17
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 5s
timeout: 5s
retries: 10
labels:
- "com.rioredwards.stack=pi-site"
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
depends_on:
db:
condition: service_healthy
labels:
- "com.rioredwards.stack=pi-site"