Skip to content

Commit

Permalink
Fixed Prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Nov 25, 2023
1 parent 4090872 commit 29195f1
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 27 deletions.
12 changes: 6 additions & 6 deletions examples/docker-compose/elk/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ services:
kibana:
image: docker.elastic.co/kibana/kibana:8.3.0
restart: always
depends_on: [ elasticsearch ]
ports: [ 5601:5601 ]
depends_on: [elasticsearch]
ports: [5601:5601]
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200/
# The following is needed to enable the alerting feature
Expand All @@ -28,7 +28,7 @@ services:
image: docker.elastic.co/beats/filebeat:8.3.0
restart: always
user: root # Needed to access the Docker socket and logs
depends_on: [ elasticsearch ]
depends_on: [elasticsearch]
volumes:
- ./filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
- /var/lib/docker/containers:/var/lib/docker/containers:ro
Expand All @@ -39,7 +39,7 @@ services:
image: docker.elastic.co/beats/metricbeat:8.3.0
restart: always
user: root # Needed to access the Docker socket and logs
depends_on: [ elasticsearch ]
depends_on: [elasticsearch]
volumes:
- ./metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
Expand All @@ -49,7 +49,7 @@ services:
webserver01:
image: docker.io/library/nginx:1.23
restart: always
ports: [ 8081:80 ]
ports: [8081:80]
volumes:
- ./nginx-default.conf:/etc/nginx/conf.d/default.conf:ro
labels:
Expand All @@ -67,7 +67,7 @@ services:
webserver02:
image: docker.io/library/nginx:1.23
restart: always
ports: [ 8082:80 ]
ports: [8082:80]
labels:
co.elastic.logs/enabled: "true"
co.elastic.logs/module: nginx
Expand Down
2 changes: 1 addition & 1 deletion examples/docker-compose/loki/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
grafana:
image: docker.io/grafana/grafana-oss:10.1.1
restart: always
ports: [ "3000:3000" ]
ports: ["3000:3000"]
volumes:
- data-grafana:/var/lib/grafana
environment:
Expand Down
4 changes: 2 additions & 2 deletions examples/docker-compose/prometheus/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ services:
prometheus:
image: docker.io/prom/prometheus:v2.46.0
restart: always
ports: [ "9090:9090" ]
ports: ["9090:9090"]
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro

grafana:
image: docker.io/grafana/grafana-oss:10.1.1
restart: always
ports: [ "3000:3000" ]
ports: ["3000:3000"]
volumes:
- data-grafana:/var/lib/grafana
environment:
Expand Down
4 changes: 2 additions & 2 deletions examples/docker-compose/zerotier/docker-compose-net-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
zerotier:
image: docker.io/zerotier/zerotier:1.10.1
restart: always
cap_add: [ NET_ADMIN ]
devices: [ /dev/net/tun ]
cap_add: [NET_ADMIN]
devices: [/dev/net/tun]
network_mode: host
environment:
ZEROTIER_IDENTITY_SECRET: <put-identity-secret-here>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
zerotier:
image: docker.io/zerotier/zerotier:1.10.1
restart: always
cap_add: [ NET_ADMIN ]
devices: [ /dev/net/tun ]
cap_add: [NET_ADMIN]
devices: [/dev/net/tun]
ports:
# Optional port forwardings (but recommended for highly trafficked
# services)
Expand All @@ -19,5 +19,5 @@ services:
webserver:
image: docker.io/traefik/whoami:v1.8.1
restart: always
depends_on: [ zerotier ]
depends_on: [zerotier]
network_mode: service:zerotier
2 changes: 1 addition & 1 deletion examples/php-recaptcha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Simple example of how to use **Google reCAPTCHA v2** with **PHP**.

:video_camera: Useful video tutorial (_not mine_): https://www.youtube.com/watch?v=xyOu0b6R3m0
Useful video tutorial (_not mine_): https://www.youtube.com/watch?v=xyOu0b6R3m0

## Step 1: Create the key pair

Expand Down
28 changes: 16 additions & 12 deletions examples/vagrant-catalog/mybox/mybox.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "mybox",
"description": "This is a slightly modified Debian box",
"versions": [{
"version": "2022.04.21",
"providers": [{
"name": "virtualbox",
"url": "file:///full/path/to/mybox/package.box",
"checksum_type": "sha256",
"checksum": "1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d"
}]
}]
}
"name": "mybox",
"description": "This is a slightly modified Debian box",
"versions": [
{
"version": "2022.04.21",
"providers": [
{
"name": "virtualbox",
"url": "file:///full/path/to/mybox/package.box",
"checksum_type": "sha256",
"checksum": "1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d1a2b3c4d"
}
]
}
]
}

0 comments on commit 29195f1

Please sign in to comment.