16 lines
446 B
YAML
16 lines
446 B
YAML
services:
|
|
sts-agent:
|
|
build: .
|
|
ulimits:
|
|
memlock: 64000000
|
|
volumes:
|
|
- /mnt/ext-storage:/mnt/ext-storage:ro
|
|
- /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
|
|
command:
|
|
- --project-id=${PROJECT_ID}
|
|
- --hostname=${HOSTNAME}
|
|
- --agent-pool=${STS_AGENT_POOL}
|