Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Rotax/.claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"permissions": {
"allow": [
"Bash(docker-compose down:*)",
"Bash(docker-compose up:*)",
"Bash(docker-compose logs:*)",
"Bash(docker-compose ps:*)",
"Bash(timeout 30 bash:*)"
],
"deny": [],
"ask": []
}
}
13 changes: 10 additions & 3 deletions Rotax/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
auth:
build: .
Expand All @@ -9,11 +7,14 @@ services:
- ./src:/app/src
- /app/target
- ~/.m2:/root/.m2
- ./uploads:/app/uploads
env_file: .env
networks:
- webnet
depends_on:
- db
db:
condition: service_healthy
restart: unless-stopped

db:
image: postgres:16
Expand All @@ -26,6 +27,12 @@ services:
- rotax-db-data:/var/lib/postgresql/data
networks:
- webnet
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped

volumes:
rotax-db-data:
Expand Down
2 changes: 1 addition & 1 deletion Rotax/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spring.datasource.driver-class-name=org.postgresql.Driver
# JPA
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.ddl-auto=create

# Mail
spring.mail.host=smtp.gmail.com
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.