-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
44 lines (40 loc) · 1.1 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
44 lines (40 loc) · 1.1 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
# SPDX-License-Identifier: MPL-2.0
# Pimcore Fortress - Development Stack (Simplified)
# For production, use Cerro Torre → Svalinn verified containers
services:
# PostgreSQL - Primary database
db:
image: docker.io/postgres:17-alpine
container_name: fortress-db
restart: unless-stopped
environment:
POSTGRES_DB: pimcore
POSTGRES_USER: pimcore
POSTGRES_PASSWORD: pimcore_dev_password
volumes:
- db-data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U pimcore"]
interval: 10s
timeout: 5s
retries: 5
# Redis - Caching layer
redis:
image: docker.io/redis:7-alpine
container_name: fortress-redis
restart: unless-stopped
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
# Lithoglyph - Immutable asset storage (native binary for dev)
# Note: Use Lithoglyph container in production
# For now: Run demo-server natively in separate terminal
volumes:
db-data:
driver: local