Skip to content

Commit

Permalink
Merge pull request #23 from Danipulok/chore/better-docker-compose
Browse files Browse the repository at this point in the history
chore(docker): update `docker-compose.yml`
  • Loading branch information
JrooTJunior authored Jan 16, 2025
2 parents cfe84d6 + a5f6d59 commit 63660b5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions example/docker-compose.yml → example/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
version: '3.7'

services:
api:
image: aiogram/telegram-bot-api:latest
restart: always
restart: unless-stopped
environment:
TELEGRAM_API_ID:
TELEGRAM_API_HASH:
TELEGRAM_API_ID: "XXX"
TELEGRAM_API_HASH: "YYY"
#TELEGRAM_LOCAL: 1 # allow files >20mb
volumes:
- telegram-bot-api-data:/var/lib/telegram-bot-api

nginx:
image: nginx:1.19-alpine
restart: always
image: nginx:1.27.3-alpine
restart: unless-stopped
depends_on:
- api
volumes:
Expand Down

0 comments on commit 63660b5

Please sign in to comment.