From 68d6e832fb7b472945b5615cda727c5ec980ae7f Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 19 Mar 2022 20:48:56 +0800 Subject: [PATCH] docs(exmaple): move config.yaml to config folder ref: https://github.com/TwiN/gatus/issues/151#issuecomment-912932934 update all exmaple in docker-compose file. Signed-off-by: Bo-Yi Wu --- .../{ => config}/config.yaml | 0 .../docker-compose-grafana-prometheus/docker-compose.yml | 2 +- .examples/docker-compose-mattermost/{ => config}/config.yaml | 0 .examples/docker-compose-mattermost/docker-compose.yml | 2 +- .../docker-compose-postgres-storage/{ => config}/config.yaml | 0 .examples/docker-compose-postgres-storage/docker-compose.yml | 4 ++-- .../docker-compose-sqlite-storage/{ => config}/config.yaml | 0 .examples/docker-compose-sqlite-storage/docker-compose.yml | 4 ++-- .examples/docker-compose/{ => config}/config.yaml | 0 .examples/docker-compose/docker-compose.yml | 2 +- 10 files changed, 7 insertions(+), 7 deletions(-) rename .examples/docker-compose-grafana-prometheus/{ => config}/config.yaml (100%) rename .examples/docker-compose-mattermost/{ => config}/config.yaml (100%) rename .examples/docker-compose-postgres-storage/{ => config}/config.yaml (100%) rename .examples/docker-compose-sqlite-storage/{ => config}/config.yaml (100%) rename .examples/docker-compose/{ => config}/config.yaml (100%) diff --git a/.examples/docker-compose-grafana-prometheus/config.yaml b/.examples/docker-compose-grafana-prometheus/config/config.yaml similarity index 100% rename from .examples/docker-compose-grafana-prometheus/config.yaml rename to .examples/docker-compose-grafana-prometheus/config/config.yaml diff --git a/.examples/docker-compose-grafana-prometheus/docker-compose.yml b/.examples/docker-compose-grafana-prometheus/docker-compose.yml index 74d453489..dad3de1ad 100644 --- a/.examples/docker-compose-grafana-prometheus/docker-compose.yml +++ b/.examples/docker-compose-grafana-prometheus/docker-compose.yml @@ -7,7 +7,7 @@ services: ports: - "8080:8080" volumes: - - ./config.yaml:/config/config.yaml + - ./config:/config networks: - metrics diff --git a/.examples/docker-compose-mattermost/config.yaml b/.examples/docker-compose-mattermost/config/config.yaml similarity index 100% rename from .examples/docker-compose-mattermost/config.yaml rename to .examples/docker-compose-mattermost/config/config.yaml diff --git a/.examples/docker-compose-mattermost/docker-compose.yml b/.examples/docker-compose-mattermost/docker-compose.yml index f3f9d630a..10622c1b5 100644 --- a/.examples/docker-compose-mattermost/docker-compose.yml +++ b/.examples/docker-compose-mattermost/docker-compose.yml @@ -6,7 +6,7 @@ services: ports: - "8080:8080" volumes: - - ./config.yaml:/config/config.yaml + - ./config:/config networks: - default diff --git a/.examples/docker-compose-postgres-storage/config.yaml b/.examples/docker-compose-postgres-storage/config/config.yaml similarity index 100% rename from .examples/docker-compose-postgres-storage/config.yaml rename to .examples/docker-compose-postgres-storage/config/config.yaml diff --git a/.examples/docker-compose-postgres-storage/docker-compose.yml b/.examples/docker-compose-postgres-storage/docker-compose.yml index 39b1f1b00..a610ca2bc 100644 --- a/.examples/docker-compose-postgres-storage/docker-compose.yml +++ b/.examples/docker-compose-postgres-storage/docker-compose.yml @@ -19,11 +19,11 @@ services: ports: - "8080:8080" volumes: - - ./config.yaml:/config/config.yaml + - ./config:/config networks: - web depends_on: - postgres networks: - web: \ No newline at end of file + web: diff --git a/.examples/docker-compose-sqlite-storage/config.yaml b/.examples/docker-compose-sqlite-storage/config/config.yaml similarity index 100% rename from .examples/docker-compose-sqlite-storage/config.yaml rename to .examples/docker-compose-sqlite-storage/config/config.yaml diff --git a/.examples/docker-compose-sqlite-storage/docker-compose.yml b/.examples/docker-compose-sqlite-storage/docker-compose.yml index df2f01e62..35a4a9a22 100644 --- a/.examples/docker-compose-sqlite-storage/docker-compose.yml +++ b/.examples/docker-compose-sqlite-storage/docker-compose.yml @@ -5,5 +5,5 @@ services: ports: - "8080:8080" volumes: - - ./config.yaml:/config/config.yaml - - ./data:/data/ \ No newline at end of file + - ./config:/config + - ./data:/data/ diff --git a/.examples/docker-compose/config.yaml b/.examples/docker-compose/config/config.yaml similarity index 100% rename from .examples/docker-compose/config.yaml rename to .examples/docker-compose/config/config.yaml diff --git a/.examples/docker-compose/docker-compose.yml b/.examples/docker-compose/docker-compose.yml index ac090c430..185ba5253 100644 --- a/.examples/docker-compose/docker-compose.yml +++ b/.examples/docker-compose/docker-compose.yml @@ -5,4 +5,4 @@ services: ports: - 8080:8080 volumes: - - ./config.yaml:/config/config.yaml \ No newline at end of file + - ./config:/config