this post was submitted on 14 Aug 2023
18 points (95.0% liked)

Docker

1128 readers
1 users here now

founded 2 years ago
MODERATORS
 

For example I have a docker compose stack with a service and a db.
How do you handle the passwords? Is it better to store them in a .env file or is there something different entirely?

Also do the passwords have to be strong if the db is only available to the service through the docker network?

you are viewing a single comment's thread
view the rest of the comments
[–] derpgon 1 points 1 year ago

Oh, didn't think about that. Well, at least it works.