VictoriaMetrics/deployment/docker/victorialogs/compose-base.yml
Andrii Chubatiuk dfcab4a47f
deployment/victorialogs: rename not executable compose files (#7124)
### 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/).
2024-09-29 09:54:45 +02:00

54 lines
1.2 KiB
YAML

services:
# meta service will be ignored by compose
.victorialogs:
image: docker.io/victoriametrics/victoria-logs:v0.31.0-victorialogs
command:
- -storageDataPath=/vlogs
- -loggerFormat=json
- -syslog.listenAddr.tcp=0.0.0.0:8094
deploy:
replicas: 0
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:9428/health"]
interval: 1s
timeout: 1s
retries: 10
victorialogs:
extends: .victorialogs
ports:
- '9428:9428'
volumes:
- victorialogs:/vlogs
deploy:
replicas: 1
# second replica is needed for HA setup and its replica count is set to 1 in compose-ha.yaml file
victorialogs-2:
extends: .victorialogs
ports:
- '9429:9428'
volumes:
- victorialogs-2:/vlogs
deploy:
replicas: 0
victoriametrics:
image: victoriametrics/victoria-metrics:latest
ports:
- '8428:8428'
command:
- -storageDataPath=/vmsingle
- -loggerFormat=json
volumes:
- victoriametrics:/vmsingle
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8428/health"]
interval: 1s
timeout: 1s
retries: 10
volumes:
victorialogs:
victorialogs-2:
victoriametrics: