forked from Gurkengewuerz/nitro-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
52 lines (45 loc) · 1.13 KB
/
Copy pathcompose.dev.yaml
File metadata and controls
52 lines (45 loc) · 1.13 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
# Docker Compose override para desarrollo
version: '3.8'
services:
# Configuraciones específicas para desarrollo
# Volcado de logs más verboso para arcturus
arcturus:
environment:
- DEBUG=true
- LOG_LEVEL=debug
volumes:
- ./logs/arcturus:/app/logs
# Nitro con hot reload para desarrollo
nitro:
environment:
- NODE_ENV=development
volumes:
- ./logs/nitro:/var/log/nginx
# Assets con logging habilitado
assets:
volumes:
- ./logs/assets:/var/log/nginx
# Base de datos con logging habilitado
db:
environment:
- MYSQL_GENERAL_LOG=1
- MYSQL_GENERAL_LOG_FILE=/var/log/mysql/general.log
volumes:
- ./logs/mysql:/var/log/mysql
# CMS con debug habilitado
cms:
environment:
- APP_DEBUG=true
- LOG_LEVEL=debug
volumes:
- ./logs/cms:/var/www/html/storage/logs
# Servicio de desarrollo para logs centralizados
log-viewer:
image: amir20/dozzle:latest
ports:
- "9999:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOZZLE_LEVEL=debug
networks: [nitro]