HOST = <0.0.0.0>
PORT=<1337>
APP_KEYS=<yourkey>
API_TOKEN_SALT=<your salt>
ADMIN_JWT_SECRET=<your admin jwt secret>
JWT_SECRET=<your jwt secret>
DATABASE_CLIENT='sqlite'
DATABASE_FILENAME='.tmp/data.db'
NODE_ENV=develop
docker-compose up -d
๐ enjoy!!
# build docker image: docker build . -t strapiv4-docker
docker build . -t <dockername>
# tag the image :docker tag strapiv4-docker imjzq/strapiv4-docker:latest
docker tag <dockername> <hubuser>/<repo-name>[:<tag>]
# push to dockerhub: docker push imjzq/strapiv4-docker:latest
docker push <hubuser>/<repo-name>[:<tag>]