Created
September 4, 2021 23:27
-
-
Save jauderho/a24d068fc6481fdb8239014e93e93cda to your computer and use it in GitHub Desktop.
Docker Compose file for Optimyze Prodfiler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
prodfiler: | |
container_name: prodfiler | |
image: optimyze/pf-host-agent:release-1.0.0 | |
privileged: true | |
pid: host | |
command: ["/root/pf-host-agent", "-t", "all"] | |
environment: | |
- PRODFILER_PROJECT_ID=${PRODFILER_PROJECT_ID} | |
- PRODFILER_SECRET_TOKEN=${PRODFILER_SECRET_TOKEN} | |
- PRODFILER_COLLECTION_AGENT=${PRODFILER_COLLECTION_AGENT} | |
volumes: | |
- '/etc/machine-id:/etc/machine-id:ro' | |
- '/var/run/docker.sock:/var/run/docker.sock' | |
- '/sys/kernel/debug:/sys/kernel/debug:ro' | |
- '/dev/null:/etc/prodfiler/prodfiler.conf' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put the environment variables in .env and they will get picked up correctly.