I am getting error on running the fusion auth using docker compose.
fusionauth:
image: fusionauth/fusionauth-app:latest
container_name: fusionauth
restart: always
environment:
- DATABASE_URL=jdbc:postgresql://postgres:5432/fusionauth
- DATABASE_ROOT_USERNAME=<username>
- DATABASE_ROOT_PASSWORD=<password>
- DATABASE_USERNAME=<username>
- DATABASE_PASSWORD=<password>
- FUSIONAUTH_APP_MEMORY=512m
- FUSIONAUTH_APP_RUNTIME_MODE=development
- FUSIONAUTH_APP_URL=http://fusionauth:9011
- SEARCH_SERVERS=http://search:9200
- SEARCH_TYPE=elasticsearch
- ES_JAVA_OPTS="-Xms1g -XX:+UseG1GC -XX:MaxGCPauseMillis=200"
ports:
- 9011:9011
Starting fusionauth-app...
--> Logging to /usr/local/fusionauth/logs/fusionauth-app.log
[0.012s][warning][os,thread] Failed to start thread - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.