Skip to content

frankxayachack/strapi-mysql-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strapi containerized

Strapi MySQL PhpMyAdmin

Strapi + MySQL + PhpMyAdmin


Travis GitHub release Docker Pulls

Quickstart (recommended)

Read the Medium post to have full explaination

  1. git clone https://github.com/strapi/strapi-docker && cd strapi-docker
  2. Run using docker-compose up

You should the be able to access your Strapi installation at localhost:1337.

Use as base image

FROM strapi/strapi

Environment variables

  • APP_NAME to override the strapi-app generated folder name (you should also update the volumes paths).
  • DATABASE_CLIENT a database providers supported by Strapi: MongoDB, Postgres, MySQL, Sqlite3 and Redis.
  • DATABASE_HOST database service name.
  • DATABASE_PORT depends on your database client.
  • DATABASE_NAME initializes a database with specific name (default strapi). When using MongoDB, you should also update the MONGO_INITDB_DATABASE environment in the db service.
  • DATABASE_USERNAME set the username of the database connection.
  • DATABASE_PASSWORD set the password of the database connection.
  • DATABASE_SRV boolean for SRV.
  • DATABASE_SSL boolean for SSL.
  • DATABASE_AUTHENTICATION_DATABASE set the authentification.

About

Strapi+MySQL+PhpMyAdmin Container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published