Skip to content

Commit 58f68d8

Browse files
committed
📝(compose) Reindent compose.yaml files
Follow yamlllint's suggestions and use the correct indentation for lists. Signed-off-by: Luca Weiss <[email protected]>
1 parent 7c97719 commit 58f68d8

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

docs/examples/compose/compose.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ services:
77
timeout: 2s
88
retries: 300
99
env_file:
10-
- env.d/postgresql
11-
- env.d/common
10+
- env.d/postgresql
11+
- env.d/common
1212
environment:
13-
- PGDATA=/var/lib/postgresql/data/pgdata
13+
- PGDATA=/var/lib/postgresql/data/pgdata
1414
volumes:
15-
- ./data/databases/backend:/var/lib/postgresql/data/pgdata
15+
- ./data/databases/backend:/var/lib/postgresql/data/pgdata
1616

1717
redis:
1818
image: redis:8
@@ -22,12 +22,12 @@ services:
2222
user: ${DOCKER_USER:-1000}
2323
restart: always
2424
environment:
25-
- DJANGO_CONFIGURATION=Production
25+
- DJANGO_CONFIGURATION=Production
2626
env_file:
27-
- env.d/common
28-
- env.d/backend
29-
- env.d/yprovider
30-
- env.d/postgresql
27+
- env.d/common
28+
- env.d/backend
29+
- env.d/yprovider
30+
- env.d/postgresql
3131
healthcheck:
3232
test: ["CMD", "python", "manage.py", "check"]
3333
interval: 15s
@@ -45,24 +45,24 @@ services:
4545
image: lasuite/impress-y-provider:latest
4646
user: ${DOCKER_USER:-1000}
4747
env_file:
48-
- env.d/common
49-
- env.d/yprovider
48+
- env.d/common
49+
- env.d/yprovider
5050

5151
frontend:
5252
image: lasuite/impress-frontend:latest
5353
user: "101"
5454
entrypoint:
55-
- /docker-entrypoint.sh
55+
- /docker-entrypoint.sh
5656
command: ["nginx", "-g", "daemon off;"]
5757
env_file:
58-
- env.d/common
58+
- env.d/common
5959
# Uncomment and set your values if using our nginx proxy example
6060
#environment:
61-
# - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
61+
# - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
6262
# - VIRTUAL_PORT=8083 # used by nginx proxy
6363
# - LETSENCRYPT_HOST=${DOCS_HOST} # used by lets encrypt to generate TLS certificate
6464
volumes:
65-
- ./default.conf.template:/etc/nginx/templates/docs.conf.template
65+
- ./default.conf.template:/etc/nginx/templates/docs.conf.template
6666
depends_on:
6767
backend:
6868
condition: service_healthy

docs/examples/compose/keycloak/compose.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ services:
77
timeout: 2s
88
retries: 300
99
env_file:
10-
- env.d/kc_postgresql
10+
- env.d/kc_postgresql
1111
volumes:
12-
- ./data/keycloak:/var/lib/postgresql/data/pgdata
12+
- ./data/keycloak:/var/lib/postgresql/data/pgdata
1313

1414
keycloak:
1515
image: quay.io/keycloak/keycloak:26.1.3
1616
command: ["start"]
1717
env_file:
18-
- env.d/kc_postgresql
19-
- env.d/keycloak
18+
- env.d/kc_postgresql
19+
- env.d/keycloak
2020
# Uncomment and set your values if using our nginx proxy example
2121
# environment:
22-
# - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy
22+
# - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy
2323
# - VIRTUAL_PORT=8080 # used by nginx proxy
2424
# - LETSENCRYPT_HOST=id.yourdomain.tld # used by lets encrypt to generate TLS certificate
2525
depends_on:
@@ -33,4 +33,4 @@ services:
3333
#
3434
#networks:
3535
# proxy-tier:
36-
# external: true
36+
# external: true

docs/examples/compose/minio/compose.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ services:
22
minio:
33
image: minio/minio
44
environment:
5-
- MINIO_ROOT_USER=<set minio root username>
6-
- MINIO_ROOT_PASSWORD=<set minio root password>
5+
- MINIO_ROOT_USER=<set minio root username>
6+
- MINIO_ROOT_PASSWORD=<set minio root password>
77
# Uncomment and set your values if using our nginx proxy example
88
# - VIRTUAL_HOST=storage.yourdomain.tld # used by nginx proxy
99
# - VIRTUAL_PORT=9000 # used by nginx proxy
@@ -16,12 +16,12 @@ services:
1616
entrypoint: ""
1717
command: minio server /data
1818
volumes:
19-
- ./data/minio:/data
19+
- ./data/minio:/data
2020
# Uncomment if using our nginx proxy example
2121
# networks:
22-
# - proxy-tier
22+
# - proxy-tier
2323

2424
# Uncomment if using our nginx proxy example
2525
#networks:
2626
# proxy-tier:
27-
# external: true
27+
# external: true

docs/examples/compose/nginx-proxy/compose.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ services:
33
image: nginxproxy/nginx-proxy
44
container_name: nginx-proxy
55
ports:
6-
- "80:80"
7-
- "443:443"
6+
- "80:80"
7+
- "443:443"
88
volumes:
9-
- html:/usr/share/nginx/html
10-
- certs:/etc/nginx/certs:ro
11-
- /var/run/docker.sock:/tmp/docker.sock:ro
9+
- html:/usr/share/nginx/html
10+
- certs:/etc/nginx/certs:ro
11+
- /var/run/docker.sock:/tmp/docker.sock:ro
1212
networks:
13-
- proxy-tier
13+
- proxy-tier
1414

1515
acme-companion:
1616
image: nginxproxy/acme-companion
1717
container_name: nginx-proxy-acme
1818
environment:
19-
19+
2020
volumes_from:
21-
- nginx-proxy
21+
- nginx-proxy
2222
volumes:
23-
- certs:/etc/nginx/certs:rw
24-
- acme:/etc/acme.sh
25-
- /var/run/docker.sock:/var/run/docker.sock:ro
23+
- certs:/etc/nginx/certs:rw
24+
- acme:/etc/acme.sh
25+
- /var/run/docker.sock:/var/run/docker.sock:ro
2626
networks:
27-
- proxy-tier
27+
- proxy-tier
2828

2929
networks:
3030
proxy-tier:

0 commit comments

Comments
 (0)