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