Strapi, with grahql included.
in docker-compose:
version: "3.7"
services:
app:
image: bilalajanjua/strapi-docker
ports:
- 1337:1337
volumes:
- ./app:/api
environment:
- DATABASE_HOST=db
- DATABASE_PORT=27017
- DATABASE_USERNAME=myusername
- DATABASE_PASSWORD=mypassword
- DATABASE_NAME=mydb
- DATABASE_AUTHENTICATION_DATABASE=admin
db:
image: mongo
volumes:
- ./db:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=myusername
- MONGO_INITDB_ROOT_PASSWORD=mypassword
- MONGO_INITDB_DATABASE=mydb
default: 127.0.0.1
default: 27017
default: strapi
default: ''
default: ''
default: false
default: ''
default: 1337
default: _csrf
default: _csrfSecret