For those which rather want to use postgresql instead of mariadb.
# docker/database/Dockerfile FROM postgres:latest ENV POSTGRES_USER <your user> ENV POSTGRES_PASSWORD <your password> EXPOSE 3306
And I had to add RUN apk add --no-cache bash in php-fpm dockerfile (due to this warning: env: can't execute 'bash': No such file or directory).
RUN apk add --no-cache bash
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For those which rather want to use postgresql instead of mariadb.
And I had to add
RUN apk add --no-cache bash
in php-fpm dockerfile (due to this warning: env: can't execute 'bash': No such file or directory).