deck icon indicating copy to clipboard operation
deck copied to clipboard

[REQUEST] Add Docker Symfony

Open TheoD02 opened this issue 2 years ago • 7 comments

Hey, Love DECK amazing tool and work !

Possible to add a Symfony Image ?

Big thanks !

TheoD02 avatar Oct 18 '21 20:10 TheoD02

Hi @TheoD02 appreciate your positive feedback, thank you. Yes, we will add the image & notify you here.

sfx101 avatar Oct 18 '21 21:10 sfx101

Hey,

And if possible to have maildev for mailing ?👍

Possible to buy some Coffee for you ? 😋 Thanks

TheoD02 avatar Oct 22 '21 18:10 TheoD02

Hi @TheoD02 haha 😆 that was a good one. I will make some coffee myself & drink for you lol. Appreciate it, and yes we'll add maildev support as well.

sfx101 avatar Oct 22 '21 18:10 sfx101

Hi @TheoD02 haha 😆 that was a good one. I will make some coffee myself & drink for you lol. Appreciate it, and yes we'll add maildev support as well.

I think @TheoD02 is talking about supporting you though https://www.buymeacoffee.com/ :smiley:

djit avatar Oct 24 '21 15:10 djit

Hi @TheoD02 haha 😆 that was a good one. I will make some coffee myself & drink for you lol. Appreciate it, and yes we'll add maildev support as well.

I think @TheoD02 is talking about supporting you though https://www.buymeacoffee.com/ 😃

haha, yeah I know but I didn't mean to say it that way. 😆

sfx101 avatar Oct 24 '21 18:10 sfx101

@TheoD02 Symfony has been added,

image

image

After the stack has started, make sure you click on the Symfony logs to check the framework download is complete or not & then open the app URL.

sfx101 avatar Oct 26 '21 05:10 sfx101

Hi, thanks a lot!

However, I have a small problem with the MariaDB container, which crashes because of the authentication.

Platform : W10 Use WSL 2 Based engine : No Docker 4.1.1 (latest) (use Docker Compose V1)

Logs:

mariadb 10:23:35.28 mariadb 10:23:35.28 Welcome to the Bitnami mariadb container mariadb 10:23:35.28 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb mariadb 10:23:35.29 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues mariadb 10:23:35.29 mariadb 10:23:35.29 INFO ==> ** Starting MariaDB setup ** mariadb 10:23:35.30 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars mariadb 10:23:35.31 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment. mariadb 10:23:35.31 INFO ==> Initializing mariadb database mariadb 10:23:35.32 INFO ==> Updating 'my.cnf' with custom configuration mariadb 10:23:35.32 INFO ==> Setting user option mariadb 10:23:35.33 INFO ==> Installing database mariadb 10:23:37.48 INFO ==> Starting mariadb in background mariadb 10:23:39.49 INFO ==> Configuring authentication ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) mariadb 10:23:39.52 INFO ==> Stopping mariadb

If I set ALLOW_EMPTY_PASSWORD to : false through DECK .env

mariadb 10:28:51.41 INFO ==> ** Starting MariaDB setup ** mariadb 10:28:51.43 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars mariadb 10:28:51.43 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment. mariadb 10:28:51.43 INFO ==> Initializing mariadb database mariadb 10:28:51.44 INFO ==> Updating 'my.cnf' with custom configuration mariadb 10:28:51.45 INFO ==> Setting user option mariadb 10:28:51.45 INFO ==> Using persisted data mariadb 10:28:51.47 INFO ==> Running mysql_upgrade mariadb 10:28:51.47 INFO ==> Starting mariadb in background mariadb 10:28:53.49 INFO ==> Stopping mariadb

When editing directly, the environments in the .docker-stacks/docker-compose.yml : (removed ALLOW_EMPTY_PASSWORD) But is saying MARIADB_ROOT_PASSWORD is empty or not set. That seem to be true. (in .env of DECK i have DB_PASSWORD and not MARIADB_ROOT_PASSWORD) but when adding MARIADB_ROOT_PASSWORD to .env is thrown the same error

mariadb 10:30:37.10 INFO ==> ** Starting MariaDB setup ** mariadb 10:30:37.11 INFO ==> Validating settings in MYSQL_/MARIADB_ env vars mariadb 10:30:37.11 ERROR ==> The MARIADB_ROOT_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.

TheoD02 avatar Oct 26 '21 10:10 TheoD02

Hi,

Thank your feedback, the issue is resolved. Appreciate your feedback here.

nabad600 avatar Oct 13 '22 17:10 nabad600