Support-BOT
This commit is contained in:
16
docker-compose-postgres-localhost.yaml
Normal file
16
docker-compose-postgres-localhost.yaml
Normal 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
18
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user