mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
chore: Mise à jour des docker compose
This commit is contained in:
@ -1,15 +1,19 @@
|
||||
services:
|
||||
redis:
|
||||
image: 'redis:latest'
|
||||
image: "redis:latest"
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
expose:
|
||||
- 6379
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
|
||||
database:
|
||||
image: 'postgres:latest'
|
||||
image: "postgres:latest"
|
||||
expose:
|
||||
- 5432
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@ -20,17 +24,13 @@ services:
|
||||
image: git.v0id.ovh/n3wt-innov/n3wt-school/backend:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
- TEST_MODE=True
|
||||
env_file: "./conf/backend.env"
|
||||
links:
|
||||
- "database:database"
|
||||
- "redis:redis"
|
||||
depends_on:
|
||||
- redis
|
||||
- database
|
||||
volumes:
|
||||
- ./conf/application.json:/Back-End/Subscriptions/Configuration/application.json
|
||||
command: python start.py
|
||||
|
||||
frontend:
|
||||
@ -40,6 +40,8 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
- NODE_ENV=production
|
||||
- NEXT_PUBLIC_API_URL=http://toto:8080
|
||||
depends_on:
|
||||
- backend
|
||||
volumes:
|
||||
- ./conf/env:/app/.env
|
||||
volumes:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
|
||||
Reference in New Issue
Block a user