mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-05-20 17:24:06 +00:00
37 lines
534 B
YAML
Executable File
37 lines
534 B
YAML
Executable File
version: "3.6"
|
|
|
|
services:
|
|
|
|
database:
|
|
image: mongo:5.0.2
|
|
restart: unless-stopped
|
|
env_file:
|
|
- ./docker/config/database.env
|
|
volumes:
|
|
- db-data:/data/db
|
|
ports:
|
|
- 27017:27017
|
|
networks:
|
|
- web
|
|
|
|
app:
|
|
build: .
|
|
command: python app.py
|
|
env_file:
|
|
- ./docker/config/app.env
|
|
volumes:
|
|
- ./src:/src
|
|
ports:
|
|
- 9000:9000
|
|
depends_on:
|
|
- database
|
|
networks:
|
|
- web
|
|
restart: on-failure
|
|
|
|
networks:
|
|
web:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
db-data: |