diff --git a/examples/docker-compose/elk/docker-compose.yml b/examples/docker-compose/elk/docker-compose.yml index 5244344..99fa246 100644 --- a/examples/docker-compose/elk/docker-compose.yml +++ b/examples/docker-compose/elk/docker-compose.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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 diff --git a/examples/docker-compose/loki/docker-compose.yml b/examples/docker-compose/loki/docker-compose.yml index 48bf214..1cddd7f 100644 --- a/examples/docker-compose/loki/docker-compose.yml +++ b/examples/docker-compose/loki/docker-compose.yml @@ -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: diff --git a/examples/docker-compose/prometheus/docker-compose.yml b/examples/docker-compose/prometheus/docker-compose.yml index 1a8c550..f81b78e 100644 --- a/examples/docker-compose/prometheus/docker-compose.yml +++ b/examples/docker-compose/prometheus/docker-compose.yml @@ -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: diff --git a/examples/docker-compose/zerotier/docker-compose-net-host.yml b/examples/docker-compose/zerotier/docker-compose-net-host.yml index 6decc57..7f477d9 100644 --- a/examples/docker-compose/zerotier/docker-compose-net-host.yml +++ b/examples/docker-compose/zerotier/docker-compose-net-host.yml @@ -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: diff --git a/examples/docker-compose/zerotier/docker-compose-net-service.yml b/examples/docker-compose/zerotier/docker-compose-net-service.yml index 93e8e84..07c65d1 100644 --- a/examples/docker-compose/zerotier/docker-compose-net-service.yml +++ b/examples/docker-compose/zerotier/docker-compose-net-service.yml @@ -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) @@ -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 diff --git a/examples/php-recaptcha/README.md b/examples/php-recaptcha/README.md index 5ac602d..7f7627a 100644 --- a/examples/php-recaptcha/README.md +++ b/examples/php-recaptcha/README.md @@ -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 diff --git a/examples/vagrant-catalog/mybox/mybox.json b/examples/vagrant-catalog/mybox/mybox.json index 9456dbb..e5536d5 100644 --- a/examples/vagrant-catalog/mybox/mybox.json +++ b/examples/vagrant-catalog/mybox/mybox.json @@ -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" - }] - }] -} \ No newline at end of file + "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" + } + ] + } + ] +}