File tree Expand file tree Collapse file tree 4 files changed +33
-29
lines changed Expand file tree Collapse file tree 4 files changed +33
-29
lines changed Original file line number Diff line number Diff line change 37
37
localstack :
38
38
image : localstack/localstack:latest
39
39
env :
40
- SERVICES : s3,dynamodb
40
+ SERVICES : s3,dynamodb,dynamodbstreams
41
41
DEFAULT_REGION : ap-northeast-1
42
42
AWS_ACCESS_KEY_ID : dummy
43
43
AWS_SECRET_ACCESS_KEY : dummy
Original file line number Diff line number Diff line change @@ -68,30 +68,30 @@ services:
68
68
# depends_on:
69
69
# - localstack
70
70
71
- phalanx :
72
- container_name : phalanx
73
- image : mosuka/phalanx:latest
74
- environment :
75
- MINIO_ENDPOINT : minio:9000
76
- MINIO_ACCESS_KEY : ${MINIO_ACCESS_KEY}
77
- MINIO_SECRET_KEY : ${MINIO_SECRET_KEY}
78
- MINIO_REGION_NAME : ${MINIO_REGION_NAME}
79
- MINIO_SESSION_TOKEN : ${MINIO_SESSION_TOKEN}
80
- MINIO_SECURE : ${MINIO_SECURE}
81
- ETCD_ENDPOINTS : etcd:2379
82
- command :
83
- - ' --host=phalanx'
84
- - ' --bind-port=2000'
85
- - ' --grpc-port=5000'
86
- - ' --http-port=8000'
87
- - ' --roles=indexer,searcher'
88
- - ' --index-metastore-uri=etcd://phalanx/metastore'
89
- - ' --log-level=info'
90
- ports :
91
- - " 2000:2000"
92
- - " 5000:5000"
93
- - " 8000:8000"
94
- depends_on :
95
- - etcd
96
- - minio
97
- restart : always
71
+ # phalanx:
72
+ # container_name: phalanx
73
+ # image: mosuka/phalanx:latest
74
+ # environment:
75
+ # MINIO_ENDPOINT: minio:9000
76
+ # MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
77
+ # MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
78
+ # MINIO_REGION_NAME: ${MINIO_REGION_NAME}
79
+ # MINIO_SESSION_TOKEN: ${MINIO_SESSION_TOKEN}
80
+ # MINIO_SECURE: ${MINIO_SECURE}
81
+ # ETCD_ENDPOINTS: etcd:2379
82
+ # command:
83
+ # - '--host=phalanx'
84
+ # - '--bind-port=2000'
85
+ # - '--grpc-port=5000'
86
+ # - '--http-port=8000'
87
+ # - '--roles=indexer,searcher'
88
+ # - '--index-metastore-uri=etcd://phalanx/metastore'
89
+ # - '--log-level=info'
90
+ # ports:
91
+ # - "2000:2000"
92
+ # - "5000:5000"
93
+ # - "8000:8000"
94
+ # depends_on:
95
+ # - etcd
96
+ # - minio
97
+ # restart: always
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ AWS_USE_PATH_STYLE=true
18
18
19
19
ETCD_ENDPOINTS = 127.0.0.1:2379
20
20
21
- LOCALSTACK_SERVICES = s3,dynamodb
21
+ LOCALSTACK_SERVICES = s3,dynamodb,dynamodbstreams
22
22
LOCALSTACK_DEFAULT_REGION = ap-northeast-1
Original file line number Diff line number Diff line change @@ -319,6 +319,10 @@ func (m *DynamodbStorage) createTable() error {
319
319
},
320
320
},
321
321
BillingMode : types .BillingModePayPerRequest ,
322
+ StreamSpecification : & types.StreamSpecification {
323
+ StreamEnabled : aws .Bool (true ),
324
+ StreamViewType : types .StreamViewTypeNewAndOldImages ,
325
+ },
322
326
})
323
327
if err != nil {
324
328
var rne * types.ResourceInUseException
You can’t perform that action at this time.
0 commit comments