blob: 9b487fa6749bcd4f3a9d78031e96a5b8f7d06ea1 (
about) (
plain)
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
57
58
59
60
61
62
|
x-depends-on:
neo4j: &neo4j-dependency
condition: service_healthy
networks:
r2r-network:
name: r2r-network
driver: bridge
attachable: true
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
labels:
- "com.docker.compose.recreate=always"
services:
postgres:
image: pgvector/pgvector:pg16
container_name: postgres
environment:
- POSTGRES_USER=gnqa
- POSTGRES_PASSWORD=gnqa
- POSTGRES_HOST=gnqa
volumes:
- postgres_pg_data:/var/lib/postgresql/data
networks:
- r2r-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U gnqa"]
interval: 5s
timeout: 5s
retries: 5
restart: on-failure
traefik:
image: traefik:v2.9
container_name: traefik
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--accesslog=true"
- "--accesslog.filepath=/var/log/traefik/access.log"
ports:
- "88:80"
- "8080:8080" # Traefik dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- r2r-network
volumes:
postgres_data:
postgres_pg_data:
the_code:
driver: local
driver_opts:
o: bind
type: none
device: /home/shebes/Research/code/gn/_R2R_old
|