Hey community :slightly_smiling_face: So I have a ...
# orm-help
a
Hey community 🙂 So I have a couple simple and probably dumb quick question. In my project I have two
docker-compose.yml
files (both slightly different). One in my root directory and one in my database directory. Are the 2 absolutely necessary? Which one takes precedence? My assumption was that they have different connections, one to the front-end and one to the database, and hence both are needed
n
no, you only need one of them. where are the two coming from?
docker compose files don't take preference over each other, you just interact with a file using
docker-compose
, it is up to you how you use which file
a
Thanks for your response 🙂 I was mirroring another project, and I saw that it has 2 docker compose. The one on my database folder looks like this: version: ‘3’ services: prisma: image: prismagraphql/prisma:1.7 restart: always ports: - “4466:4466” environment: PRISMA_CONFIG: | port: 4466 I’m gonna try to run it without to see what happens 😂
n
looks like quite an old one though
1.7
a
true that, what an oversight! thanks