version: '3.8' services: oncall-gpt: build: . container_name: oncall-gpt-bot environment: - DATABASE_URL=postgresql://postgres:password@postgres:5432/oncall_gpt - REDIS_URL=redis://redis:6379 - ANONYMIZED_TELEMETRY=False - CHROMA_SERVER_AUTHN_CREDENTIALS_FILE="" - CHROMA_SERVER_AUTHN_PROVIDER="" env_file: - .env depends_on: - postgres - redis volumes: - ./chroma_db:/app/chroma_db restart: unless-stopped postgres: image: docker.io/postgres:15 container_name: oncall-gpt-db environment: POSTGRES_DB: oncall_gpt POSTGRES_USER: postgres POSTGRES_PASSWORD: password volumes: - postgres_data:/var/lib/postgresql/data ports: - "5432:5432" restart: unless-stopped redis: image: docker.io/redis:7-alpine container_name: oncall-gpt-redis ports: - "6379:6379" restart: unless-stopped volumes: postgres_data: