Zion Boggan
repos/SOC Automation Lab/shuffle/docker-compose.yml
zionboggan.com ↗
66 lines · yaml
History for this file →
1
name: shuffle
2
 
3
services:
4
  shuffle-database:
5
    image: opensearchproject/opensearch:2.14.0
6
    hostname: shuffle-database
7
    restart: unless-stopped
8
    environment:
9
      - OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g
10
      - bootstrap.memory_lock=true
11
      - DISABLE_INSTALL_DEMO_CONFIG=true
12
      - DISABLE_SECURITY_PLUGIN=true
13
      - discovery.type=single-node
14
    ulimits:
15
      memlock:
16
        soft: -1
17
        hard: -1
18
    volumes:
19
      - shuffle-database:/usr/share/opensearch/data
20
 
21
  shuffle-backend:
22
    image: ghcr.io/shuffle/shuffle-backend:1.4.0
23
    hostname: shuffle-backend
24
    restart: unless-stopped
25
    depends_on:
26
      - shuffle-database
27
    ports:
28
      - "5001:5001"
29
    environment:
30
      - SHUFFLE_APP_HOTLOAD_FOLDER=./shuffle-apps
31
      - SHUFFLE_FILE_LOCATION=./shuffle-files
32
      - ORG_ID=Shuffle
33
      - BASE_URL=http://shuffle-backend:5001
34
      - DOCKER_API_VERSION=1.40
35
    volumes:
36
      - /var/run/docker.sock:/var/run/docker.sock
37
      - shuffle-apps:/shuffle-apps
38
      - shuffle-files:/shuffle-files
39
 
40
  shuffle-frontend:
41
    image: ghcr.io/shuffle/shuffle-frontend:1.4.0
42
    hostname: shuffle-frontend
43
    restart: unless-stopped
44
    depends_on:
45
      - shuffle-backend
46
    ports:
47
      - "3443:3443"
48
    environment:
49
      - BACKEND_HOSTNAME=shuffle-backend
50
 
51
  shuffle-orborus:
52
    image: ghcr.io/shuffle/shuffle-orborus:1.4.0
53
    hostname: shuffle-orborus
54
    restart: unless-stopped
55
    environment:
56
      - SHUFFLE_APP_SDK_TIMEOUT=300
57
      - ENVIRONMENT_NAME=Shuffle
58
      - BASE_URL=http://shuffle-backend:5001
59
      - DOCKER_API_VERSION=1.40
60
    volumes:
61
      - /var/run/docker.sock:/var/run/docker.sock
62
 
63
volumes:
64
  shuffle-database:
65
  shuffle-apps:
66
  shuffle-files: