services: database: image: postgres:17-alpine restart: unless-stopped env_file: .env.postgres volumes: - pgdata:/var/lib/postgresql/data - ./postgres:/docker-entrypoint-initdb.d:ro keystore: image: valkey/valkey:8-alpine restart: unless-stopped command: valkey-server /usr/local/etc/valkey/valkey.conf volumes: - ./valkey/valkey.conf:/usr/local/etc/valkey/valkey.conf:ro - ./valkey/users.acl:/usr/local/etc/valkey/users.acl:ro api: scale: 1 image: registry.tek.govt.hu/chat/api:latest restart: unless-stopped env_file: .env.api depends_on: - database - keystore ui: scale: 1 image: registry.tek.govt.hu/chat/ui:debug restart: unless-stopped depends_on: - api proxy: image: nginx:alpine-slim restart: unless-stopped ports: - 80:80 volumes: - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro volumes: pgdata: