telegram-bot-api-build/example/docker-compose.yml

26 lines
483 B
YAML
Raw Normal View History

2020-11-06 22:24:59 +00:00
version: '3.7'
services:
api:
image: aiogram/telegram-bot-api:latest
restart: always
environment:
TELEGRAM_API_ID:
TELEGRAM_API_HASH:
volumes:
- telegram-bot-api-data:/var/lib/telegram-bot-api
nginx:
image: nginx:1.19-alpine
restart: always
depends_on:
- api
volumes:
- telegram-bot-api-data:/var/lib/telegram-bot-api
- ./nginx:/etc/nginx/conf.d/
ports:
- "80:80"
2020-11-06 22:24:59 +00:00
volumes:
telegram-bot-api-data: