Minor compose and editorconfig fixes (#4150)

* feat(docker-compose): give all containers a name

* fix(docker-compose): fix healthcheck for clickhouse container

For some reason, its CMD form always returned a healthcheck error, at
least in Podman.

* fix(editorconfig): address formatting regression for YAML files introduced in 8af65f58d9

* fix: frontend temp editorconfig change

* fix(editorconfig): add more extensions that use 2 spaces indentation

---------

Co-authored-by: Calum H. (IMB11) <hendersoncal117@gmail.com>
This commit is contained in:
Alejandro González
2025-08-09 22:00:10 +02:00
committed by GitHub
parent 544f63512a
commit 58645b9ba9
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
name: labrinth
services:
postgres_db:
image: postgres:alpine
container_name: labrinth-postgres
volumes:
- db-data:/var/lib/postgresql/data
ports:
@@ -16,6 +18,7 @@ services:
retries: 3
meilisearch:
image: getmeili/meilisearch:v1.12.0
container_name: labrinth-meilisearch
restart: on-failure
ports:
- '7700:7700'
@@ -31,6 +34,7 @@ services:
retries: 3
redis:
image: redis:alpine
container_name: labrinth-redis
restart: on-failure
ports:
- '6379:6379'
@@ -43,13 +47,14 @@ services:
retries: 3
clickhouse:
image: clickhouse/clickhouse-server
container_name: labrinth-clickhouse
ports:
- '8123:8123'
environment:
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: default
healthcheck:
test: ['CMD', 'clickhouse-client', '--query', 'SELECT 1']
test: ['CMD-SHELL', 'clickhouse-client --query "SELECT 1"']
interval: 3s
timeout: 5s
retries: 3