mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-09 17:51:47 +00:00
Create docker-compose.yml
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: germannewsmaker/licenseapi:development
|
||||
ports:
|
||||
- "8025:8025"
|
||||
depends_on:
|
||||
- mongo
|
||||
environment:
|
||||
MONGOOSE_STRING: mongodb://mongo:27017/licenseapi
|
||||
MAIL_SERVER: smtp.gmail.com
|
||||
MAIL_PORT: 587
|
||||
MAIL_USER: noreply@gmail.com
|
||||
MAIL_PASS: password
|
||||
|
||||
mongo:
|
||||
image: mongo:latest
|
||||
volumes:
|
||||
- mongo-data:/data/db
|
||||
|
||||
volumes:
|
||||
mongo-data:
|
||||
Reference in New Issue
Block a user