feat(bot): Update stuff to migrate to k8s.
This commit is contained in:
-36
@@ -1,36 +0,0 @@
|
||||
name: "payphone"
|
||||
|
||||
services:
|
||||
bot:
|
||||
build: .
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
IS_DEBUG: "false"
|
||||
depends_on:
|
||||
- database
|
||||
- redis
|
||||
command: run.sh
|
||||
restart: always
|
||||
|
||||
database:
|
||||
image: postgres:16.3
|
||||
environment:
|
||||
- POSTGRES_DB=payphone
|
||||
- POSTGRES_USER=payphone
|
||||
- POSTGRES_PASSWORD=payphone
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
command: postgres -c 'max_connections=1000'
|
||||
# ports:
|
||||
# - 5432:5432
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
image: redis:7.4.1-alpine
|
||||
# ports:
|
||||
# - 6379:6379
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
database:
|
||||
Reference in New Issue
Block a user