📝(compose) Reindent compose.yaml files

Follow yamlllint's suggestions and use the correct indentation for
lists.

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
This commit is contained in:
Luca Weiss
2025-06-26 19:09:01 +02:00
parent 7c97719907
commit 58f68d86e1
4 changed files with 38 additions and 38 deletions

View File

@@ -7,12 +7,12 @@ services:
timeout: 2s timeout: 2s
retries: 300 retries: 300
env_file: env_file:
- env.d/postgresql - env.d/postgresql
- env.d/common - env.d/common
environment: environment:
- PGDATA=/var/lib/postgresql/data/pgdata - PGDATA=/var/lib/postgresql/data/pgdata
volumes: volumes:
- ./data/databases/backend:/var/lib/postgresql/data/pgdata - ./data/databases/backend:/var/lib/postgresql/data/pgdata
redis: redis:
image: redis:8 image: redis:8
@@ -22,12 +22,12 @@ services:
user: ${DOCKER_USER:-1000} user: ${DOCKER_USER:-1000}
restart: always restart: always
environment: environment:
- DJANGO_CONFIGURATION=Production - DJANGO_CONFIGURATION=Production
env_file: env_file:
- env.d/common - env.d/common
- env.d/backend - env.d/backend
- env.d/yprovider - env.d/yprovider
- env.d/postgresql - env.d/postgresql
healthcheck: healthcheck:
test: ["CMD", "python", "manage.py", "check"] test: ["CMD", "python", "manage.py", "check"]
interval: 15s interval: 15s
@@ -45,24 +45,24 @@ services:
image: lasuite/impress-y-provider:latest image: lasuite/impress-y-provider:latest
user: ${DOCKER_USER:-1000} user: ${DOCKER_USER:-1000}
env_file: env_file:
- env.d/common - env.d/common
- env.d/yprovider - env.d/yprovider
frontend: frontend:
image: lasuite/impress-frontend:latest image: lasuite/impress-frontend:latest
user: "101" user: "101"
entrypoint: entrypoint:
- /docker-entrypoint.sh - /docker-entrypoint.sh
command: ["nginx", "-g", "daemon off;"] command: ["nginx", "-g", "daemon off;"]
env_file: env_file:
- env.d/common - env.d/common
# Uncomment and set your values if using our nginx proxy example # Uncomment and set your values if using our nginx proxy example
#environment: #environment:
# - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy # - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
# - VIRTUAL_PORT=8083 # used by nginx proxy # - VIRTUAL_PORT=8083 # used by nginx proxy
# - LETSENCRYPT_HOST=${DOCS_HOST} # used by lets encrypt to generate TLS certificate # - LETSENCRYPT_HOST=${DOCS_HOST} # used by lets encrypt to generate TLS certificate
volumes: volumes:
- ./default.conf.template:/etc/nginx/templates/docs.conf.template - ./default.conf.template:/etc/nginx/templates/docs.conf.template
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy

View File

@@ -7,16 +7,16 @@ services:
timeout: 2s timeout: 2s
retries: 300 retries: 300
env_file: env_file:
- env.d/kc_postgresql - env.d/kc_postgresql
volumes: volumes:
- ./data/keycloak:/var/lib/postgresql/data/pgdata - ./data/keycloak:/var/lib/postgresql/data/pgdata
keycloak: keycloak:
image: quay.io/keycloak/keycloak:26.1.3 image: quay.io/keycloak/keycloak:26.1.3
command: ["start"] command: ["start"]
env_file: env_file:
- env.d/kc_postgresql - env.d/kc_postgresql
- env.d/keycloak - env.d/keycloak
# Uncomment and set your values if using our nginx proxy example # Uncomment and set your values if using our nginx proxy example
# environment: # environment:
# - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy # - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy

View File

@@ -2,8 +2,8 @@ services:
minio: minio:
image: minio/minio image: minio/minio
environment: environment:
- MINIO_ROOT_USER=<set minio root username> - MINIO_ROOT_USER=<set minio root username>
- MINIO_ROOT_PASSWORD=<set minio root password> - MINIO_ROOT_PASSWORD=<set minio root password>
# Uncomment and set your values if using our nginx proxy example # Uncomment and set your values if using our nginx proxy example
# - VIRTUAL_HOST=storage.yourdomain.tld # used by nginx proxy # - VIRTUAL_HOST=storage.yourdomain.tld # used by nginx proxy
# - VIRTUAL_PORT=9000 # used by nginx proxy # - VIRTUAL_PORT=9000 # used by nginx proxy
@@ -16,10 +16,10 @@ services:
entrypoint: "" entrypoint: ""
command: minio server /data command: minio server /data
volumes: volumes:
- ./data/minio:/data - ./data/minio:/data
# Uncomment if using our nginx proxy example # Uncomment if using our nginx proxy example
# networks: # networks:
# - proxy-tier # - proxy-tier
# Uncomment if using our nginx proxy example # Uncomment if using our nginx proxy example
#networks: #networks:

View File

@@ -3,28 +3,28 @@ services:
image: nginxproxy/nginx-proxy image: nginxproxy/nginx-proxy
container_name: nginx-proxy container_name: nginx-proxy
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
volumes: volumes:
- html:/usr/share/nginx/html - html:/usr/share/nginx/html
- certs:/etc/nginx/certs:ro - certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
networks: networks:
- proxy-tier - proxy-tier
acme-companion: acme-companion:
image: nginxproxy/acme-companion image: nginxproxy/acme-companion
container_name: nginx-proxy-acme container_name: nginx-proxy-acme
environment: environment:
- DEFAULT_EMAIL=mail@yourdomain.tld - DEFAULT_EMAIL=mail@yourdomain.tld
volumes_from: volumes_from:
- nginx-proxy - nginx-proxy
volumes: volumes:
- certs:/etc/nginx/certs:rw - certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh - acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
networks: networks:
- proxy-tier - proxy-tier
networks: networks:
proxy-tier: proxy-tier: