chore: correct db creds format + mount local dir
* ./ instead of $PWD means that the mounted folder is not where the command is run from but rather the folder local to the compose file * use proper db creds format
This commit is contained in:
parent
82d075dd01
commit
779c349ff6
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"db": {
|
||||
"Postgre": "host=db,port=5432,database=pwt;username=postgres;password=679968312e029a806c1905c40ec331aa199a1eb86bd0b9eb04057933e449bdc9ef8ef292a39b68cafa5689c901a17266",
|
||||
"Postgre": "User ID=postgres;Password=679968312e029a806c1905c40ec331aa199a1eb86bd0b9eb04057933e449bdc9ef8ef292a39b68cafa5689c901a17266;Server=db;Port=5432;Database=pwt;Integrated Security=true;Pooling=true;",
|
||||
"MySQL": "server=db,Database=pwt-0x01-ng;Port=3306;user=root;password=679968312e029a806c1905c40ec331aa199a1eb86bd0b9eb04057933e449bdc9ef8ef292a39b68cafa5689c901a17266;"
|
||||
},
|
||||
"Logging": {
|
||||
|
|
|
@ -8,7 +8,7 @@ services:
|
|||
ports:
|
||||
- 127.0.0.1:8001:5000
|
||||
volumes:
|
||||
- $PWD:/src
|
||||
- ./:/src
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Development
|
||||
DB_CONNECTION_STRING: "User ID=postgres;Password=679968312e029a806c1905c40ec331aa199a1eb86bd0b9eb04057933e449bdc9ef8ef292a39b68cafa5689c901a17266;Server=db;Port=5432;Database=pwt;Integrated Security=true;Pooling=true;"
|
||||
|
|
Reference in New Issue