Cleanup
This commit is contained in:
10
README.md
10
README.md
@@ -151,12 +151,12 @@ to Helm Chart because there is (for now) no way to make it working (see below fo
|
||||
Exemple of a possible `docker-compose.yaml` file:
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
services:
|
||||
webapp:
|
||||
image: php:7-apache
|
||||
environment:
|
||||
# note that "database" is a service name
|
||||
# note that "database" is a "compose" service name
|
||||
# so we need to adapt it with the map-env label
|
||||
DB_HOST: database
|
||||
expose:
|
||||
- 80
|
||||
@@ -169,10 +169,10 @@ labels:
|
||||
katenary.v3/ingress: |-
|
||||
hostname: myapp.example.com
|
||||
port: 80
|
||||
# make adaptations, DB_HOST environment is actually the service name
|
||||
# to hit (note the yaml style, start with "|")
|
||||
katenary.v3/mapenv: |-
|
||||
# make adaptations, DB_HOST environment is actually the service name
|
||||
DB_HOST: '{{ .Release.Name }}-database'
|
||||
|
||||
database:
|
||||
image: mariadb:10
|
||||
env_file:
|
||||
@@ -225,5 +225,3 @@ A catenary is a curve formed by a wire, rope, or chain hanging freely from two p
|
||||
line. For example, the anchor chain between a boat and the anchor.
|
||||
|
||||
This "curved link" represents what we try to do, the project is a "streched link from docker-compose to helm chart".
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user