Les sessions foncitonnent, reste à pouvoir les sauvegarder, soit via redis ou via type orm. Pour l'instant redis est un échec

This commit is contained in:
batche
2022-11-03 18:35:46 +01:00
parent 4622792534
commit 03b90690ce
1251 changed files with 35313 additions and 115 deletions

View File

@@ -21,6 +21,7 @@ services:
restart: unless-stopped
depends_on:
- postgresql
- redis
prod:
container_name: nestjs_api_prod
@@ -44,12 +45,13 @@ services:
NODE_ENV: "${NODE_ENV}"
depends_on:
- postgresql
- redis
postgresql:
container_name: nestjs_postgresql
image: postgres
ports:
- 5432:5432
expose:
- "5432"
networks:
- transcendance_network
volumes:
@@ -62,6 +64,19 @@ services:
POSTGRES_HOST: "${POSTGRES_HOST}"
POSTGRES_PORT: "${POSTGRES_PORT}"
redis:
container_name: nestjs_redis
image: redis:alpine
expose:
- "6379"
networks:
- transcendance_network
restart: unless-stopped
environment:
REDIS_HOST: "${REDIS_HOST}"
REDIS_PORT: "${REDIS_PORT}"
networks:
transcendance_network:
driver: bridge
@@ -69,6 +84,7 @@ networks:
volumes:
data_nest_back:
data_nest_postgresql:
data_nest_redis: