Formatting
This commit is contained in:
@@ -16,16 +16,16 @@ services:
|
|||||||
DB_DATABASE: ninja_db
|
DB_DATABASE: ninja_db
|
||||||
DB_USERNAME: ninja
|
DB_USERNAME: ninja
|
||||||
DB_PASSWORD: ${DB_USER_PASS}
|
DB_PASSWORD: ${DB_USER_PASS}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
API_SECRET: ${MOBILE_APP_SECRET}
|
API_SECRET: ${MOBILE_APP_SECRET}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
io.rancher.sidekicks: cron, web
|
io.rancher.sidekicks: cron, web
|
||||||
links:
|
links:
|
||||||
- db:ninja-mysql
|
- db:ninja-mysql
|
||||||
@@ -59,16 +59,16 @@ services:
|
|||||||
DB_DATABASE: ninja_db
|
DB_DATABASE: ninja_db
|
||||||
DB_USERNAME: ninja
|
DB_USERNAME: ninja
|
||||||
DB_PASSWORD: ${DB_USER_PASS}
|
DB_PASSWORD: ${DB_USER_PASS}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
API_SECRET: ${MOBILE_APP_SECRET}
|
API_SECRET: ${MOBILE_APP_SECRET}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
links:
|
links:
|
||||||
- db:ninja-mysql
|
- db:ninja-mysql
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@@ -85,9 +85,9 @@ services:
|
|||||||
MYSQL_USER: ninja
|
MYSQL_USER: ninja
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql
|
- ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql
|
||||||
@@ -97,9 +97,9 @@ services:
|
|||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
links:
|
links:
|
||||||
- app
|
- app
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user