examples: Fix broken compose-file.
@@ -10,7 +10,7 @@ services:
MYSQL_USER: ${mysql.user.name}
MYSQL_PASSWORD: ${mysql.user.password}
volumes:
- - source: volume
+ - source: db_data
target: /var/lib/mysql
type: volume
networks:
@@ -40,7 +40,8 @@ services:
- mysql
volumes:
- db_data: ${volumes.db_data.name}
+ db_data:
+ name: ${volumes.db_data.name}
networks:
overlay:
