Hey @carlitorweb,
I followed the steps:
- Creating an
docker-compose.yamlwith:
Summary
version: '3'
services:
strapi:
image: strapi/strapi
environment:
DATABASE_CLIENT: mysql
DATABASE_HOST: mariadb
DATABASE_PORT: 3306
DATABASE_NAME: strapi
DATABASE_USERNAME: strapi
DATABASE_PASSWORD: strapi
DATABASE_SSL: 'false'
volumes:
- ./app:/srv/app
ports:
- '1337:1337'
depends_on:
- mariadb
mariadb:
image: mariadb
volumes:
- ./data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: strapi
MYSQL_DATABASE: strapi
MYSQL_USER: strapi
MYSQL_PASSWORD: strapi
- Run
docker-compose pull - Run
docker-compose up(without -d, detached mode)
What I noticed is that the installation and initial build where taking a bit long, so I guess your app just wasn’t started yet. Maybe wait a couple of second and start you app not detached so you can see the logs. Don’t forget to remove the created folders and containers, to start with a fresh project.