From bec2820969b64d2d09d283459f7a1d1e10aa0548 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 20 Mar 2022 12:04:13 +0800 Subject: [PATCH] docs(example): move config.yaml to config folder (#265) 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 74d45348..dad3de1a 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 f3f9d630..10622c1b 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 39b1f1b0..a610ca2b 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 df2f01e6..35a4a9a2 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 ac090c43..185ba525 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