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

Enhancement: Flexible Port Configuration in Docker Compose #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Amandeepsingh25
Copy link

Description:

  1. Incorporated environment variable placeholders (${PORT:-3000}) within the Docker Compose file for flexible port configurations.
  2. Utilized the docker-compose config command to preprocess the file, resolving environment variables and generating the processed Docker Compose configuration.
  3. Enabled dynamic port mapping by substituting environment variables with default values or user-defined values.
  4. Facilitated adaptability by allowing users to specify custom ports through environment variables, enhancing deployment flexibility.
    Generated the preprocessed Docker Compose file, ensuring seamless integration of configurable ports for improved usability and versatility.

@Amandeepsingh25
Copy link
Author

I have done chnages in action settings of my repo though all the things are correct
No can you check the workflow by running it again. @tushar5526

@Mr-Sunglasses Mr-Sunglasses linked an issue May 29, 2024 that may be closed by this pull request
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.

Add support to allow ports as variables in docker compose
1 participant