Firebase to MongoDB change, updated README.md, removed entrypoint.py and heroku-specific files

Author: miloszowi<miloszweb@gmail.com>
This commit is contained in:
miloszowi
2021-09-25 16:49:11 +02:00
parent c29b0dabc5
commit baa8a78cad
41 changed files with 390 additions and 226 deletions

37
docker-compose.yml Executable file
View File

@@ -0,0 +1,37 @@
version: "3.6"
services:
database:
image: mongo:4.0.8
restart: unless-stopped
env_file:
- ./docker/config/database/database.env
volumes:
- db-data:/data/db
ports:
- 27017:27017
networks:
- web
app:
build: .
command: python app.py
env_file:
- ./docker/config/app/app.env
volumes:
- ./src:/src
ports:
- 9000:9000
depends_on:
- database
networks:
- web
restart: on-failure
networks:
web:
driver: bridge
volumes:
db-data: