feat: add postgresql to docker-compose

This commit is contained in:
swve 2023-10-28 14:53:48 +02:00
parent d01550d129
commit afaf1d6dfe

View file

@ -8,6 +8,15 @@ services:
- .:/usr/learnhouse - .:/usr/learnhouse
environment: environment:
- LEARNHOUSE_COOKIE_DOMAIN=.localhost - 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: mongo:
image: mongo:5.0 image: mongo:5.0
restart: always restart: always