mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-25 17:35:28 +00:00
4d46d8059b
chore: quote nginx port mapping
26 lines
483 B
YAML
26 lines
483 B
YAML
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"
|
|
|
|
volumes:
|
|
telegram-bot-api-data:
|