Skip to content

Commit

Permalink
docs(example): move config.yaml to config folder (#265)
Browse files Browse the repository at this point in the history
ref: #151 (comment)

update all exmaple in docker-compose file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy authored Mar 20, 2022
1 parent 0bf2271 commit bec2820
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
ports:
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
- ./config:/config
networks:
- metrics

Expand Down
2 changes: 1 addition & 1 deletion .examples/docker-compose-mattermost/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
ports:
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
- ./config:/config
networks:
- default

Expand Down
4 changes: 2 additions & 2 deletions .examples/docker-compose-postgres-storage/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ services:
ports:
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
- ./config:/config
networks:
- web
depends_on:
- postgres

networks:
web:
web:
4 changes: 2 additions & 2 deletions .examples/docker-compose-sqlite-storage/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ services:
ports:
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
- ./data:/data/
- ./config:/config
- ./data:/data/
File renamed without changes.
2 changes: 1 addition & 1 deletion .examples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ services:
ports:
- 8080:8080
volumes:
- ./config.yaml:/config/config.yaml
- ./config:/config

0 comments on commit bec2820

Please sign in to comment.