https://github.com/frankxayachack/strapi-mysql-docker
Strapi+MySQL+PhpMyAdmin Container
https://github.com/frankxayachack/strapi-mysql-docker
headless-cms mysql phpmyadmin strapi
Last synced: 3 months ago
JSON representation
Strapi+MySQL+PhpMyAdmin Container
- Host: GitHub
- URL: https://github.com/frankxayachack/strapi-mysql-docker
- Owner: frankxayachack
- License: mit
- Created: 2019-05-10T10:15:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T10:18:31.000Z (about 6 years ago)
- Last Synced: 2024-11-04T03:31:54.451Z (8 months ago)
- Topics: headless-cms, mysql, phpmyadmin, strapi
- Language: Shell
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Strapi](https://github.com/strapi/strapi) containerized


Strapi + MySQL + PhpMyAdmin
***
[](https://travis-ci.org/strapi/strapi-docker)
[](https://github.com/strapi/strapi-docker/releases)
[](https://hub.docker.com/r/strapi/strapi)## Quickstart (recommended)
> [Read the Medium post to have full explaination](https://medium.com/@lucaperret/strapi-quickstart-with-docker-d77ca7c86c1f)
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](http://localhost:1337).
## Use as base image
```Dockerfile
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.