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

Creating profile on services to switch between databases #13

Open
adramazany opened this issue Aug 8, 2024 · 0 comments
Open

Creating profile on services to switch between databases #13

adramazany opened this issue Aug 8, 2024 · 0 comments

Comments

@adramazany
Copy link
Owner

adramazany commented Aug 8, 2024

Investigate about how it is possible to have profile in docker-compose to give the ability of having default profile and
also setting up and configuring the different database on up (create and run) time

https://docs.docker.com/compose/profiles/

services:
frontend:
image: frontend
profiles: [frontend]
phpmyadmin:
image: phpmyadmin
depends_on: [db]
profiles: [debug]

docker compose --profile debug up

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

No branches or pull requests

1 participant