mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-11-10 16:26:09 +00:00
Firebase to MongoDB change, updated README.md, removed entrypoint.py and heroku-specific files
Author: miloszowi<miloszweb@gmail.com>
This commit is contained in:
37
docker-compose.yml
Executable file
37
docker-compose.yml
Executable 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:
|
||||
Reference in New Issue
Block a user