Files
gcp-wif-test/sts-agent/compose.yaml
T

28 lines
735 B
YAML

name: sts
services:
imds-emulator:
build: .
volumes:
- /etc/sts-agent:/etc/sts-agent:ro
environment:
GOOGLE_APPLICATION_CREDENTIALS: /etc/sts-agent/cred.json
GOOGLE_API_CERTIFICATE_CONFIG: /etc/sts-agent/certificate_config.json
PROJECT_ID: ${PROJECT_ID}
PROJECT_NUMBER: ${PROJECT_NUMBER}
agent:
image: gcr.io/cloud-ingest/tsop-agent:latest
depends_on:
- imds-emulator
ulimits:
memlock: 64000000
volumes:
- /mnt/ext-storage:/mnt/ext-storage:ro
environment:
GCE_METADATA_HOST: imds-emulator
GCE_METADATA_IP: imds-emulator
command:
- --project-id=${PROJECT_ID}
- --hostname=${HOSTNAME}
- --agent-pool=${STS_AGENT_POOL}