No description
| BackEnd | ||
| FrontEnd | ||
| .gitignore | ||
| buildall.sh | ||
| LICENSE | ||
| README.md | ||
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/.