# Dynamic Development Stack name: kurs-platform 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"] sql: image: mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04 user: root environment: - SA_PASSWORD=NvQp8s@l - ACCEPT_EULA=Y - MSSQL_PID=Express ports: - 1433:1433 volumes: - sql:/var/opt/mssql cdn: image: tozlu/http-server:latest ports: - 4005:8080 working_dir: /srv/http-server volumes: - ./data/cdn:/public command: "/public -c10 --cors" 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 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 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 - TZ=UTC - PGTZ=UTC