# Platform Data Stack name: kurs-platform-data networks: db: external: false log: external: false volumes: sql: elastic: kibana: sql-pg: services: redis: image: redis:6 ports: - 6379:6379 volumes: - ./configs/redis.conf:/redis.conf command: ["redis-server", "/redis.conf"] networks: - db restart: always sql: image: mcr.microsoft.com/mssql/server:2022-CU16-ubuntu-22.04 user: root environment: - SA_PASSWORD=NvQp8s@l - ACCEPT_EULA=Y - MSSQL_PID=Express ports: - 1433:1433 volumes: - sql:/var/opt/mssql networks: - db restart: always elastic: image: docker.elastic.co/elasticsearch/elasticsearch:8.15.3 volumes: - ./configs/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml - elastic:/usr/share/elasticsearch/data ports: - 9200:9200 environment: - xpack.security.enabled=false - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 nofile: soft: 65536 hard: 65536 cap_add: - IPC_LOCK networks: - log restart: always kibana: depends_on: - elastic image: docker.elastic.co/kibana/kibana:8.15.3 volumes: - kibana:/usr/share/kibana/data ports: - 5601:5601 environment: - XPACK_SECURITY_ENABLED=false - ELASTICSEARCH_HOSTS=http://elastic:9200 networks: - log restart: always postgres: image: postgres:17 ports: - 5432:5432 volumes: - sql-pg:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=NvQp8s@l - POSTGRES_USER=sa - POSTGRES_DB=postgres networks: - db restart: always