- Added port mapping to docker-compose for local development. - Modified the API to allow access from localhost without Telegram initData for local development. - Updated the web application to check for localhost before denying access based on initData.
12 lines
184 B
YAML
12 lines
184 B
YAML
services:
|
|
bot:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
env_file: .env
|
|
ports:
|
|
- "${HTTP_PORT:-8080}:8080"
|
|
volumes:
|
|
- .:/app
|
|
restart: "no"
|