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

Better docker ports #81

Merged
merged 2 commits into from
Oct 27, 2023
Merged

Better docker ports #81

merged 2 commits into from
Oct 27, 2023

Conversation

cflipse
Copy link
Collaborator

@cflipse cflipse commented Oct 27, 2023

Resolves #000

Description

Make some quality-of-life changes to the docker-compose file to allow the docker compose stack to peacefully co-exist with other running docker applications.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update
  • Documentation update

This refines the docker configuration to not attempt to claim the
well-known ports for postgres and redis.  This allows multiple different
docker application stack to be running, without clashing on related
services.

The .env configuration will read the randomly assigned port for redis
and the postgres database, and assign the environment variables when the
application boots.  It also provides a localhost / well-known port
fallback if the docker compose service is not running -- which allows
for fully-local development, if docker isn't your cup of tea
@cflipse cflipse force-pushed the better-docker-ports branch from 751c350 to 48d11a8 Compare October 27, 2023 19:23
@garettarrowood
Copy link
Member

Thank you!

@garettarrowood garettarrowood merged commit ed0e539 into main Oct 27, 2023
4 checks passed
@garettarrowood garettarrowood deleted the better-docker-ports branch October 27, 2023 19:31
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.

2 participants