kompose/script/test/fixtures/change-in-volume/docker-compose.yml
Abhishek c40bb4bb3a change volume name with generated deployment file
if volumes in docker file is defined as
      volumes:
        - .:/code
    Then the PVC created by kompose will containes .(dot) in it.
       .-persistentvolumeclaim.yaml
2017-06-14 14:31:07 +05:30

14 lines
192 B
YAML

version: '2'
services:
web:
image: flask_web
command: python app.py
ports:
- "5000:5000"
volumes:
- .:/code
links:
- redis
redis:
image: redis