Answer the question
In order to leave comments, you need to log in
Where is the error in the config file or what am I doing wrong?
Hello everyone
The situation is as follows: I need to raise two databases for two different applications. Here is a piece of .yml where I raise the bases:
services:
db1:
image: some_image
volumes:
- ./configs/postgresql_1.conf:/etc/postgresql/postgresql_1.conf
command: postgres -c config_file=/etc/postgresql/postgresql_1.conf
db2:
image: some_image
volumes:
- ./configs/postgresql_2.conf:/etc/postgresql/postgresql_2.conf
command: postgres -c config_file=/etc/postgresql/postgresql_2.conf
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question