Support-BOT

This commit is contained in:
2024-05-01 20:04:29 +03:00
parent 4280385d32
commit b6bf7ed982
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
version: '3.3'
services:
postgres:
container_name: postgres
image: postgres:15.0
restart: always
ports:
- "5432:5432"
volumes:
- ./db:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=psqls
- POSTGRES_PASSWORD=Ax123456
- DB_HOST=127.0.0.1
volumes:
db:

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: '3.3'
services:
bot:
container_name: support-bot
build: .
restart: always
ports:
- "7772:7772"
env_file:
- ./.env
postgres:
container_name: support-bot-db
image: postgres:15.0
restart: always
volumes:
- ./db:/var/lib/postgresql/data/
env_file:
- ./.env