forked from LaconicNetwork/kompose
feat: support container volume mount subpath (#1628)
* feat: support volumes subpath Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> * docs: add the kompose.volume.sub-path label Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> * fix: update e2e tests Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> --------- Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
version: '3.8'
|
||||
volumes:
|
||||
postgres-data:
|
||||
|
||||
services:
|
||||
postgres:
|
||||
labels:
|
||||
kompose.volume.subpath: test
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: dumb_postgres_user
|
||||
POSTGRES_PASSWORD: postgres_password
|
||||
POSTGRES_DB: dumb_db
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
Reference in New Issue
Block a user