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:
|
Exemple of a possible `docker-compose.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3"
|
|
||||||
services:
|
services:
|
||||||
webapp:
|
webapp:
|
||||||
image: php:7-apache
|
image: php:7-apache
|
||||||
environment:
|
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
|
DB_HOST: database
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 80
|
||||||
@@ -169,10 +169,10 @@ labels:
|
|||||||
katenary.v3/ingress: |-
|
katenary.v3/ingress: |-
|
||||||
hostname: myapp.example.com
|
hostname: myapp.example.com
|
||||||
port: 80
|
port: 80
|
||||||
# make adaptations, DB_HOST environment is actually the service name
|
|
||||||
# to hit (note the yaml style, start with "|")
|
|
||||||
katenary.v3/mapenv: |-
|
katenary.v3/mapenv: |-
|
||||||
|
# make adaptations, DB_HOST environment is actually the service name
|
||||||
DB_HOST: '{{ .Release.Name }}-database'
|
DB_HOST: '{{ .Release.Name }}-database'
|
||||||
|
|
||||||
database:
|
database:
|
||||||
image: mariadb:10
|
image: mariadb:10
|
||||||
env_file:
|
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.
|
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".
|
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