-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathdocker-compose.sse.yaml
More file actions
50 lines (50 loc) · 1.87 KB
/
docker-compose.sse.yaml
File metadata and controls
50 lines (50 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
vault-sse-before-migration:
image: ${VAULT_IMAGE}
profiles: ['sse-migration']
# root because S3C images needs ownership permission on files and mounted paths
user: root
command: sh -c "chmod 400 tests/utils/keyfile && yarn start > /artifacts/vault.log 2> /artifacts/vault-stderr.log"
network_mode: "host"
volumes:
- /tmp/artifacts/${JOB_NAME}:/artifacts
- ./vault-config.json:/conf/config.json:ro
- ./vault-db:/data
environment:
- VAULT_DB_BACKEND=LEVELDB
- CI=true
- ENABLE_LOCAL_CACHE=true
- REDIS_HOST=0.0.0.0
- REDIS_PORT=6379
depends_on:
- redis
vault-sse-migration:
extends: vault-sse-before-migration
profiles: ['sse-migration']
command: sh -c "chmod 400 tests/utils/keyfile && yarn start > /artifacts/vault.migration.log 2> /artifacts/vault-stderr.migration.log"
environment:
- KMS_BACKEND
cloudserver-sse-before-migration:
extends:
file: docker-compose.yaml
service: cloudserver
profiles: [sse-migration]
volumes:
# using artesca container
- ../../localData:/usr/src/app/localData
- ../../localMetadata:/usr/src/app/localMetadata
- ../../tests/functional/sse-kms-migration/config.json:/conf/config.json
environment:
- S3_CONFIG_FILE=/conf/config.json
- S3_LOCATION_FILE=/usr/src/app/tests/locationConfig/locationConfigS3C.json
cloudserver-sse-migration:
extends: cloudserver-sse-before-migration
profiles: [sse-migration]
command: sh -c "yarn start > /artifacts/s3.migration.log 2> /artifacts/s3-stderr.migration.log"
metadata-standalone:
image: ghcr.io/scality/metadata:8.11.0-standalone
profiles: ['metadata-standalone']
network_mode: 'host'
volumes:
- ./md-config-v0.json:/mnt/standalone_workdir/config.json:ro
- /tmp/artifacts/${JOB_NAME}/md:/mnt/standalone_workdir/log