1
0
Fork 0
chat-access/_deployment/docker-compose-services.yaml
2024-11-11 08:51:17 +01:00

38 lines
826 B
YAML

services:
keycloak:
image: quay.io/keycloak/keycloak:26.0
command: start-dev --import-realm
ports:
- 7080:8080
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin1
- KC_HOSTNAME_STRICT_HTTPS=false
volumes:
- ./keycloak-import:/opt/keycloak/data/import
chat-access-postgres:
image: postgres:17
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=chat-access
ports:
- 5432:5432
volumes:
- chat-access-db:/var/lib/postgresql/data
ollama:
image: ollama/ollama:latest
ports:
- 11434:11434
volumes:
- ~/.ollama:/root/.ollama/
deploy:
resources:
reservations:
devices:
- capabilities: ["gpu"]
volumes:
chat-access-db: