-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 882 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 882 Bytes
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
# OSDO App — Local Development Stack
# Run: docker compose up -d
# Access: http://localhost:8080
# Default admin: admin@osdo.dev / osdo-secret
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:80"
environment:
- APP_NAME=OSDO
- APP_ENV=local
- APP_KEY=${APP_KEY:-base64:changeme-generate-with-artisan-key-generate}
- APP_DEBUG=true
- APP_URL=http://localhost:8080
- DB_CONNECTION=sqlite
- DB_DATABASE=/var/www/html/database/database.sqlite
- CACHE_DRIVER=file
- SESSION_DRIVER=file
- QUEUE_CONNECTION=sync
volumes:
- app-storage:/var/www/html/storage
- app-db:/var/www/html/database
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/up"]
interval: 30s
timeout: 5s
retries: 3
volumes:
app-storage:
app-db: