feat: review backend and frontend
- update to the latest version of Java/SpringBoot - update to the latest version NuxtJS - add account/password update - add account creation - add account password reset - add bundle to regroup questions and add default questions on user creation - add bundle creation
This commit is contained in:
@@ -1,16 +1,51 @@
|
||||
version: '2'
|
||||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: frontend/
|
||||
args:
|
||||
BACKEND_BASE_URL: http://pluss.itsonus.fr/api
|
||||
BACKEND_BASE_URL: http://localhost:8191
|
||||
ports:
|
||||
- "8190:80"
|
||||
|
||||
backend:
|
||||
build: backend/
|
||||
depends_on:
|
||||
- database
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- DATABASE_HOST=${DATABASE_HOST}
|
||||
- DATABASE_PORT=${DATABASE_PORT}
|
||||
- DATABASE_NAME=${DATABASE_NAME}
|
||||
- MAIL_HOST=${MAIL_HOST}
|
||||
- MAIL_PORT=${MAIL_PORT}
|
||||
- MAIL_FROM=${MAIL_FROM}
|
||||
- MAIL_USERNAME=${MAIL_USERNAME}
|
||||
- MAIL_USERNAME=${MAIL_USERNAME}
|
||||
- MAIL_ACTIVATE_DEBUG=${MAIL_ACTIVATE_DEBUG}
|
||||
- FRONTEND_URL={FRONTEND_URL}
|
||||
- FRONTEND_CHANGE_PASSWORD_URL=${FRONTEND_CHANGE_PASSWORD_URL}
|
||||
ports:
|
||||
- "8191:8080"
|
||||
networks:
|
||||
- pluss
|
||||
|
||||
database:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- PGDATA=/data/postgres
|
||||
volumes:
|
||||
- ./data:/app/data # H2 database
|
||||
- pluss_postgres:/data/postgres
|
||||
ports:
|
||||
- "5434:5432"
|
||||
networks:
|
||||
- pluss
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
pluss:
|
||||
|
||||
volumes:
|
||||
pluss_postgres:
|
Reference in New Issue
Block a user