Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added additional env params #213

Open
wants to merge 3 commits into
base: 2024.x
Choose a base branch
from
Open

Added additional env params #213

wants to merge 3 commits into from

Conversation

bluvulture
Copy link
Contributor

No description provided.

@brusch
Copy link
Member

brusch commented Nov 29, 2024

Should we include RabbitMQ as well?

@bluvulture
Copy link
Contributor Author

@brusch added

@@ -52,6 +52,13 @@ services:
PIMCORE_INSTALL_MYSQL_PORT: 3306
PIMCORE_INSTALL_MYSQL_HOST_SOCKET: db
PIMCORE_INSTALL_MYSQL_DATABASE: pimcore
GOTENBERG_IP: "1.2.3.4"
GOTENBERG_PORT: "3000"
PLATFORM_PROJECT_ENTROPY: "1234567890"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this? Looks like it should be changed by the user to a random value. Maybe an explaining comment would be helpful.

REDIS_HOST: "redis"
REDIS_PORT: "6379"
PIMCORE_TOKEN: "1234567890"
RABBITMQ_URL: "amqp://user:pass@rabbitmq:1234"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RABBITMQ_URL: "amqp://user:pass@rabbitmq:1234"
RABBITMQ_URL: "amqp://rabbitmq:5672"

Here we should use the proper port, otherwise it won't work out of the box.

@@ -52,6 +52,13 @@ services:
PIMCORE_INSTALL_MYSQL_PORT: 3306
PIMCORE_INSTALL_MYSQL_HOST_SOCKET: db
PIMCORE_INSTALL_MYSQL_DATABASE: pimcore
GOTENBERG_IP: "1.2.3.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
GOTENBERG_IP: "1.2.3.4"
GOTENBERG_IP: "gotenberg"

Same here, we need to use the proper config, otherwise Gotenberg won't work when having the config in place using the env vars.
Maybe we should also think about the naming, e.g. GOTENBERG_HOST is more specific? 🤔 We'd need to change this in pimcore/paas then as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants