mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-26 04:10:08 +01:00
a18d4f79d4
### Describe Your Changes Renamed base compose files to prevent envs to be created from them ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/).
31 lines
740 B
YAML
31 lines
740 B
YAML
include:
|
|
- ../compose-base.yml
|
|
services:
|
|
fluentd:
|
|
build: .
|
|
volumes:
|
|
- /var/lib/docker/containers:/var/lib/docker/containers:ro
|
|
- ${PWD}/fluent.conf:/fluentd/etc/fluent.conf
|
|
depends_on: [victorialogs]
|
|
ports:
|
|
- "5140:5140"
|
|
- "24224:24224"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-z", "-n", "-v", "127.0.0.1", "24224"]
|
|
start_period: 3s
|
|
nginx:
|
|
image: nginx:1.27
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
|
start_period: 3s
|
|
ports:
|
|
- "8080:80"
|
|
logging:
|
|
driver: fluentd
|
|
options:
|
|
fluentd-address: 127.0.0.1:24224
|
|
labels: com.docker.compose.service
|
|
depends_on:
|
|
fluentd:
|
|
condition: service_healthy
|