No description
Find a file
2025-04-28 16:13:52 +02:00
BackEnd Corrected Readme.md 2025-04-28 16:13:52 +02:00
FrontEnd Corrected Readme.md 2025-04-28 16:13:52 +02:00
.gitignore first commit 2025-03-27 09:58:53 +01:00
buildall.sh added MPL License 2025-04-28 10:40:17 +02:00
LICENSE added MPL License 2025-04-28 10:40:17 +02:00
README.md Corrected Readme.md 2025-04-28 16:13:52 +02:00

Docker Compose Example

services:
  front:
    image: nastroa/gestionaleitsfront:1.0
    restart: always
    volumes:
      - path/to/ssl/cert:/usr/local/apache2/conf/
      - path/to/ssl/key:/usr/local/apache2/conf/
    ports:
      - "80:80"
      - "443:443"
    depends_on:
      - gestionale
    networks:
      - apache

  gestionale:
    image: nastroa/gestionaleits:2.0
    restart: always
    volumes:
      - path/to/media/folder:/opt/app/media
    environment:
      SPRING_DATASOURCE_URL: "jdbc:mariadb://db:3306/gestionale"
      SPRING_DATASOURCE_USERNAME: "root"
      SPRING_DATASOURCE_PASSWORD: "Vmware1!"
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_CLIENT-ID: ""
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_CLIENT-SECRET: ""
      JWT_KEY: ""
      CORS_URL: "http://localhost:8000"
      MEDIA_PATH: "/opt/app/media"
    expose:
      - 8080
    depends_on:
      - db
    networks:
      - apache

  db:
    image: mariadb:11.7.2
    restart: always
    expose:
      - 3306
    volumes:
      - path/to/init/db/file:/docker-entrypoint-initdb.d/schema.sql
    environment:
      MARIADB_DATABASE: "gestionale"
      MARIADB_ROOT_PASSWORD: "Vmware1!"
    networks:
      - apache

networks:
  apache:
    external: true

Licence

This project is under the MPL 2.0

If you want to contribute insert in every file this header:

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.