bugfix di alcuni problemi di interfaccia
All checks were successful
Build and Publish / build (push) Successful in 3m8s
All checks were successful
Build and Publish / build (push) Successful in 3m8s
This commit is contained in:
10
docker-compose/.yo-rc.json
Normal file
10
docker-compose/.yo-rc.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"generator-jhipster": {
|
||||
"appsFolders": ["smartbooking"],
|
||||
"deploymentType": "docker-compose",
|
||||
"directoryPath": "../../",
|
||||
"jwtSecretKey": "MDQwNzk2YjgyMzE3NjQxNWViNzQyZThjNmJjNjI1YzBmZGRiYzBmYzMxNjg2ODM4MGMxOTFjM2NiNGUxMDE1ZWFiODA0ZTA1M2JkZjM5NThhNTc3YzViY2MxY2IxYTNiYWQ0Zg==",
|
||||
"monitoring": "no",
|
||||
"serviceDiscoveryType": "no"
|
||||
}
|
||||
}
|
||||
14
docker-compose/README-DOCKER-COMPOSE.md
Normal file
14
docker-compose/README-DOCKER-COMPOSE.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# JHipster generated Docker-Compose configuration
|
||||
|
||||
## Usage
|
||||
|
||||
Launch all your infrastructure by running: `docker compose up -d`.
|
||||
|
||||
## Configured Docker services
|
||||
|
||||
### Applications and dependencies:
|
||||
|
||||
- smartbooking (monolith application)
|
||||
- smartbooking's postgresql database
|
||||
|
||||
### Additional Services:
|
||||
31
docker-compose/docker-compose.yml
Normal file
31
docker-compose/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
smartbooking:
|
||||
image: git.bigc.it/sbierti/smartbooking:latest
|
||||
environment:
|
||||
- _JAVA_OPTIONS=-Xmx512m -Xms256m
|
||||
- SPRING_PROFILES_ACTIVE=prod,api-docs
|
||||
- MANAGEMENT_PROMETHEUS_METRICS_EXPORT_ENABLED=true
|
||||
- SPRING_DATASOURCE_URL=jdbc:postgresql://smartbooking-postgresql:5432/smartbooking
|
||||
- SPRING_LIQUIBASE_URL=jdbc:postgresql://smartbooking-postgresql:5432/smartbooking
|
||||
- JHIPSTER_SLEEP=30
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- postgresql
|
||||
postgresql:
|
||||
image: postgres:18.1
|
||||
# volumes:
|
||||
# - ~/volumes/jhipster/smartbooking/postgresql/:/var/lib/postgresql/data/
|
||||
environment:
|
||||
- POSTGRES_USER=smartbooking
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
healthcheck:
|
||||
test: [ 'CMD-SHELL', 'pg_isready -U $${POSTGRES_USER}' ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
# If you want to expose these ports outside your dev PC,
|
||||
# remove the "127.0.0.1:" prefix
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
|
||||
Reference in New Issue
Block a user