version: "3"
services:
  web:
    image: nginx
    volumes:
      - ./tls:/etc/tls
      - ./tls/a.key:/etc/test-a-key.key
    labels:
      kompose.volume.type: configMap
  db:
    image: mysql
    volumes:
      - db-data:/var/lib/mysql
    labels:
      kompose.volume.type: persistentVolumeClaim

volumes:
  db-data:
