one_ton_daily_bot/docker-compose.yml

46 lines
958 B
YAML

services:
bot:
build:
context: ./client
dockerfile: ./Dockerfile
environment:
- TZ=Europe/Moscow
- NODE_ENV=development
- PORT=${BOT_PORT}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- TELEGRAM_BOT_WEBHOOK_URL=${TELEGRAM_BOT_WEBHOOK_URL}
# ports:
# - '${BOT_PORT}:${BOT_PORT}'
networks:
- one_ton_daily_bot_network
volumes:
# - ./client/src:/app/src
- ./client/db:/app/db
restart: unless-stopped
# sqlitebrowser:
# image: linuxserver/sqlitebrowser
# ports:
# - "3000:3000"
# depends_on:
# - bot
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=UTC
# - ENABLE_UWSGI=true
# volumes:
# - ../../db:/data/db
# networks:
# - one_ton_daily_bot_network
# restart: unless-stopped
# container_name: sqlitebrowser
networks:
one_ton_daily_bot_network:
volumes:
db:
external: true