added compose file
This commit is contained in:
parent
f08ee6aa03
commit
94167e162e
|
|
@ -1 +1 @@
|
|||
Subproject commit f34f725e32b65b0486ee0e2e7869d10f68e7e55e
|
||||
Subproject commit 9cdf52f40950500e340635fbc96baf266dcfcb46
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
version '3.1'
|
||||
|
||||
services:
|
||||
database:
|
||||
image: mongo:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 27017:27017
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: ${DB_USERNAME}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${DB_PASSWORD}
|
||||
|
||||
api:
|
||||
image: r0r5chach/dermy-api:latest
|
||||
ports:
|
||||
- 3000:3000
|
||||
Loading…
Reference in New Issue