Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 785 Bytes

deployment.md

File metadata and controls

38 lines (30 loc) · 785 Bytes

Deployment

Configure values

Be sure you set the port and address in docker-compose.yaml

Configure app

      TG_TOKEN: ""           # your TG Bot token
      DB_HOST: pg            # your TG Bot token
      DB_PORT: 5432          # your TG Bot token
      DB_NAME: postgres      # postgres database name
      DB_USER: postgres      # postgres user name
      DB_PASS: password      # postgres password

Configure postgres db

      POSTGRES_DB: postgres         # postgres database name
      POSTGRES_USER: postgres       # postgres user name
      POSTGRES_PASSWORD: password   # postgres password

Building

docker compose build 

Start

docker compose up -d

Stop

docker compose down