mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add postgresql to docker-compose
This commit is contained in:
parent
d01550d129
commit
afaf1d6dfe
1 changed files with 9 additions and 0 deletions
|
|
@ -8,6 +8,15 @@ services:
|
|||
- .:/usr/learnhouse
|
||||
environment:
|
||||
- LEARNHOUSE_COOKIE_DOMAIN=.localhost
|
||||
postgresql:
|
||||
image: postgres:16-alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- POSTGRES_USER=learnhouse
|
||||
- POSTGRES_PASSWORD=learnhouse
|
||||
- POSTGRES_DB=learnhouse
|
||||
mongo:
|
||||
image: mongo:5.0
|
||||
restart: always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue