Add IntelliJ run configurations

This commit is contained in:
2026-03-04 21:52:20 -07:00
parent 5b4797fdcc
commit c5da0582fb
2 changed files with 23 additions and 1 deletions

3
.gitignore vendored
View File

@@ -13,7 +13,8 @@ target/
.sts4-cache
### IntelliJ IDEA ###
.idea
.idea/*
!.idea/runConfigurations/
*.iws
*.iml
*.ipr

21
docker-compose.db.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
db:
image: mysql:8.0
container_name: petshop-db
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: Petstoredb
MYSQL_USER: petshop
MYSQL_PASSWORD: petshop
ports:
- "3306:3306"
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-uroot", "-proot"]
interval: 5s
timeout: 5s
retries: 30
volumes:
db_data: