File size: 1,134 Bytes
afd56bc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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: