Merge branch 'main' into documentation

This commit is contained in:
Max 2025-06-25 15:46:19 +02:00 committed by GitHub
commit 34f0cd7ac4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 3649 additions and 78 deletions

View file

@ -5,14 +5,16 @@ services:
target: production-main
dockerfile: Dockerfile
ports:
- "3002:3000"
- "5900-5907:3000"
env_file:
- website/.env
depends_on:
- websocket
- redis
- postgres
restart: unless-stopped
networks:
- shared_backend
deploy:
replicas: 8
websocket:
build:
@ -20,33 +22,13 @@ services:
target: production-websocket
dockerfile: Dockerfile
ports:
- "8081:8080"
- "8082:8080"
env_file:
- website/.env
depends_on:
- redis
restart: unless-stopped
networks:
- shared_backend
redis:
image: redis:8-alpine
volumes:
- rugplay_redisdata:/data
command: "redis-server --save 60 1"
restart: unless-stopped
postgres:
image: pgvector/pgvector:pg16
container_name: rugplay-postgres
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB:-rugplay}
ports:
- "5432:5432"
volumes:
- rugplay_pgdata:/var/lib/postgresql/data
restart: unless-stopped
volumes:
rugplay_pgdata:
rugplay_redisdata:
networks:
shared_backend:
external: true