first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:40:14 +03:00
commit e04ba85564
129 changed files with 17541 additions and 0 deletions

26
.env.docker Normal file
View File

@@ -0,0 +1,26 @@
DB_HOST=mysql
DB_PORT=3306
DB_USER=gin_img
DB_PASSWORD=gin_img_pass
DB_NAME=gin_img
JWT_SECRET=local-docker-jwt-secret-change-me
JWT_REFRESH_SECRET=local-docker-refresh-secret-change-me
REDIS_URL=redis://default:redispass@redis:6379/3
PORT=8080
GIN_MODE=release
CORS_BOOTSTRAP_WHITELIST_ORIGINS=http://localhost:3000,http://localhost:5173
CORS_BOOTSTRAP_BLACKLIST_ORIGINS=
RL_BOOTSTRAP_LOGIN_MAX_REQUESTS=10
RL_BOOTSTRAP_LOGIN_WINDOW_SECONDS=60
RL_BOOTSTRAP_REGISTER_MAX_REQUESTS=5
RL_BOOTSTRAP_REGISTER_WINDOW_SECONDS=60
RL_BOOTSTRAP_API_MAX_REQUESTS=120
RL_BOOTSTRAP_API_WINDOW_SECONDS=60
CORS_DEBUG=false
RATE_LIMIT_DEBUG=false