Add Dozzle log viewer to dev and prod compose files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -180,6 +180,20 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- casera-network
|
- casera-network
|
||||||
|
|
||||||
|
# Dozzle — lightweight real-time log viewer
|
||||||
|
dozzle:
|
||||||
|
image: amir20/dozzle:latest
|
||||||
|
container_name: casera-dozzle
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "${DOZZLE_PORT:-9999}:8080"
|
||||||
|
environment:
|
||||||
|
DOZZLE_NO_ANALYTICS: "true"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- casera-network
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|||||||
@@ -189,6 +189,26 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- casera-network
|
- casera-network
|
||||||
|
|
||||||
|
# Dozzle — lightweight real-time log viewer
|
||||||
|
dozzle:
|
||||||
|
image: amir20/dozzle:latest
|
||||||
|
ports:
|
||||||
|
- "${DOZZLE_PORT:-9999}:8080"
|
||||||
|
environment:
|
||||||
|
DOZZLE_NO_ANALYTICS: "true"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
networks:
|
||||||
|
- casera-network
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user