Added app directory

This commit is contained in:
AtamanKit
2021-07-21 12:12:58 +03:00
parent b243b421dd
commit b8d5811936
12 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +0,0 @@
__pycache__/
*.py[cod]
*$py.class
venv
.gitignore

7
app/.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
venv
.git
.gitignore
.idea
__pycache__

View File

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