added docker support

This commit is contained in:
2024-09-12 19:32:09 -04:00
parent d575a4efc5
commit c61d0c40af
3 changed files with 84 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
---
services:
games-api:
image: games-api
build: .
container_name: games-api
environment:
- ACCESS_TOKEN_SECRET=
- JWT_EXPIRE=
- REFRESH_TOKEN_SECRET=
- MONGO_URI=
- SMTP_HOST=
- SMTP_PORT=
- SMTP_USER=
- SMTP_PASSWORD=
- FROM_EMAIL=
- FROM_NAME=
- SECURE=false
ports:
- 5000:5000