Added app directory
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
*$py.class
|
|
||||||
|
|
||||||
venv
|
|
||||||
|
|
||||||
.gitignore
|
|
||||||
7
app/.dockerignore
Normal file
7
app/.dockerignore
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
venv
|
||||||
|
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.idea
|
||||||
|
|
||||||
|
__pycache__
|
||||||
@@ -2,13 +2,13 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
build: .
|
build: ./app
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
environment:
|
environment:
|
||||||
- DB_URL=mongodb://db/myTestDB
|
- DB_URL=mongodb://db/myTestDB
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- ./app:/app
|
||||||
db:
|
db:
|
||||||
image: mongo
|
image: mongo
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user