mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
Bot update: refactoring and redis
This commit is contained in:
@@ -6,4 +6,4 @@ DATABASE_PORT=5432
|
||||
|
||||
SERVER_PORT=3000
|
||||
|
||||
ACCESS_TOKEN=123
|
||||
REDIS_PASSWORD=123
|
||||
|
||||
@@ -19,6 +19,20 @@ services:
|
||||
- neuro_postgres_db:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
container_name: neuro_redis
|
||||
image: redis:alpine
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
restart: always
|
||||
ports:
|
||||
- "6379:6379"
|
||||
environment:
|
||||
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- labnet
|
||||
|
||||
backend:
|
||||
container_name: neuro_backend
|
||||
build: ./backend
|
||||
@@ -45,10 +59,12 @@ services:
|
||||
- labnet
|
||||
depends_on:
|
||||
- backend
|
||||
- redis
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
neuro_postgres_db:
|
||||
driver: local
|
||||
redis_data:
|
||||
networks:
|
||||
labnet:
|
||||
|
||||
Submodule neuro-reply-bot-reworked updated: e89cb04c02...788b8acfbc
Reference in New Issue
Block a user