You can follow the guide in this repository Todo
or you simply use the docker compose below
version: "2"
services:
mysql:
image: "bitnami/mysql:8.0"
ports:
- "3306:3306"
volumes:
- "./mysql:/bitnami/mysql/data"
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=todo
todo-app:
image: "supanadit/todo:1.0.5"
ports:
- "80:80"
environment:
- DB_CONNECTION=mysql
- DB_HOST=mysql
- DB_PORT=3306
- DB_DATABASE=todo
- DB_USERNAME=root
- DB_PASSWORD=secret
depends_on:
- mysql
Content type
Image
Digest
sha256:00e020161…
Size
250.4 MB
Last updated
over 3 years ago
docker pull supanadit/todo