Spaces:
Running
Running
| version: '3.8' | |
| services: | |
| db: | |
| image: ankane/pgvector:latest | |
| container_name: dotacje-postgres | |
| restart: always | |
| environment: | |
| POSTGRES_USER: user | |
| POSTGRES_PASSWORD: password | |
| POSTGRES_DB: dotacje | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| redis: | |
| image: redis:7-alpine | |
| container_name: dotacje-redis | |
| restart: always | |
| ports: | |
| - "6379:6379" | |
| volumes: | |
| - redis_data:/data | |
| # app: | |
| # build: . | |
| # container_name: dotacje-streamlit | |
| # ports: | |
| # - "8501:8501" | |
| # environment: | |
| # - DATABASE_URL=postgresql://user:password@db:5432/dotacje | |
| # depends_on: | |
| # - db | |
| # - redis | |
| neo4j: | |
| image: neo4j:5.20.0 | |
| container_name: dotacje-neo4j | |
| restart: always | |
| environment: | |
| NEO4J_AUTH: neo4j/grantforge123 | |
| NEO4J_PLUGINS: '["apoc"]' | |
| NEO4J_dbms_memory_heap_initial__size: 512m | |
| NEO4J_dbms_memory_heap_max__size: 1G | |
| ports: | |
| - "7474:7474" # HTTP | |
| - "7687:7687" # Bolt | |
| volumes: | |
| - neo4j_data:/data | |
| volumes: | |
| postgres_data: | |
| redis_data: | |
| neo4j_data: | |