I am trying to set up dreamfactory in a docker environment for evaluation purposes, in the documentation there is listed that I can set it up using postgress.
I have built a Container, with Dreamfactory, pgadmin and a postgres instance.
Unfortunatly during starting up dream factory is trying to connect to a MySql server
dreamfactory | mysql-c INFO Trying to connect to MySQL server
even though in my compose file I am setting it to connect to a postgress
dreamfactory:
image: dreamfactorysoftware/df-docker
container_name: dreamfactory
restart: always
ports:
- “8080:80”
depends_on:
- postgres
environment:
- DB_CONNECTION=pgsql
- DB_HOST=postgres
- DB_PORT=5432
- DB_DATABASE=dreamfactory
- DB_USERNAME=dreamfactory
- DB_PASSWORD=yourpassword
- APP_KEY=base64:d1075a9a-a483-4003-b3b9-ce5d025c1045
volumes:
- dreamfactory_storage:/opt/dreamfactory/storage
networks:
- backend
3 posts - 2 participants