subbunanepalli commited on
Commit
4e0dfe6
·
verified ·
1 Parent(s): 49819a3

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +15 -0
docker-compose.yml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+
3
+ services:
4
+ logreg-api:
5
+ build:
6
+ context: .
7
+ dockerfile: Dockerfile
8
+ container_name: logreg-fastapi-container
9
+ ports:
10
+ - "7860:7860"
11
+ volumes:
12
+ - ./app:/app
13
+ environment:
14
+ - PORT=7860
15
+ restart: always