added compose file

This commit is contained in:
Joshua Perry 2024-06-08 20:05:23 +01:00
parent f08ee6aa03
commit 94167e162e
2 changed files with 17 additions and 1 deletions

@ -1 +1 @@
Subproject commit f34f725e32b65b0486ee0e2e7869d10f68e7e55e Subproject commit 9cdf52f40950500e340635fbc96baf266dcfcb46

16
docker-compose.yml Normal file
View File

@ -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