mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(build): 🐛 mount named db volume to db container rather than api container
This commit is contained in:
parent
0c7caa0424
commit
e1d567bf8e
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,6 @@ services:
|
|||
- directory
|
||||
depends_on:
|
||||
- directory.db
|
||||
volumes:
|
||||
- directory.db:/var/lib/postgresql/data
|
||||
environment:
|
||||
ConnectionStrings__DirectoryConnection: ${DIRECTORY_CONNECTION_STRING}
|
||||
|
||||
|
|
@ -29,6 +27,8 @@ services:
|
|||
image: postgres:alpine
|
||||
networks:
|
||||
- directory
|
||||
volumes:
|
||||
- directory.db:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: ${DIRECTORY_DB_USER}
|
||||
POSTGRES_PASSWORD: ${DIRECTORY_DB_PASSWORD}
|
||||
|
|
|
|||
Loading…
Reference in a new issue