thêm docker file. test còn lỗi docker compose không connect được mongodb và redis. chạy trên IDE thì connect local thành công.

This commit is contained in:
2026-01-20 16:48:25 +07:00
parent e912928597
commit c0dd57501e
13 changed files with 143 additions and 57 deletions

View File

@@ -6,8 +6,9 @@ spring:
name: gift-code-service
data:
mongodb:
uri: mongodb://localhost:27017/gift-codedb
auto-index-creation: true
host: localhost
port: 27017
database: gift-codedb
redis:
host: localhost
port: 6379