forked from LaconicNetwork/kompose
* fix issue https://github.com/kubernetes/kompose/issues/1683 * add tests, die if inputfiles not specified * fix GetComposeFileDir function and use it * use fixed GetComposeFileDir instead of filepath.Dir * return error instead of fatal * add pod configmap creation to openshift
17 lines
311 B
YAML
17 lines
311 B
YAML
version: '3'
|
|
|
|
services:
|
|
redis:
|
|
image: 'bitnami/redis:latest'
|
|
environment:
|
|
- ALLOW_EMPTY_PASSWORD=no
|
|
# Env file will override environment / warn!
|
|
env_file:
|
|
- "foo.env"
|
|
- bar.env
|
|
labels:
|
|
kompose.service.type: nodeport
|
|
ports:
|
|
- '6379:6379'
|
|
restart: "no"
|