mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 15:33:22 +00:00
44 lines
746 B
YAML
44 lines
746 B
YAML
version: '3'
|
|
|
|
services:
|
|
redis:
|
|
image: 'redis:latest'
|
|
expose:
|
|
- 6379
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
|
|
database:
|
|
image: 'postgres:latest'
|
|
expose:
|
|
- 5432
|
|
environment:
|
|
POSTGRES_USER: ${DB_USER}
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_DB: school
|
|
TZ: Europe/Paris
|
|
|
|
backend:
|
|
build:
|
|
context: ./Back-End
|
|
target: production
|
|
expose:
|
|
- 8080
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
- TEST_MODE=False
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
|
|
frontend:
|
|
build:
|
|
context: ./Front-End
|
|
target: production
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
- NODE_ENV=production
|
|
depends_on:
|
|
- backend |