I am using version: '3.8'
services:
mydb:
image: mysql:5
environment:
MYSQL_ROOT_PASSWORD: shiva
mywordpress:
image: wordpress
ports:
- 8080:80
links:
- mydb: sqldb
Below is the error message:
services.mywordpress.links.0 must be a string