1
0

docker-compose.yml 892 B

12345678910111213141516171819202122232425262728
  1. version: '3'
  2. services:
  3. influx:
  4. image: influxdb:alpine
  5. environment:
  6. INFLUXDB_DB: "mydb"
  7. INFLUXDB_USER: "my_user"
  8. INFLUXDB_USER_PASSWORD: "my_pass"
  9. graphite:
  10. image: graphiteapp/graphite-statsd
  11. environment:
  12. REDIS_TAGDB: "y"
  13. timescale:
  14. build:
  15. dockerfile: ci/Dockerfile.timescale
  16. context: .
  17. environment:
  18. POSTGRES_PASSWORD: 123456
  19. app:
  20. build:
  21. dockerfile: ci/Dockerfile.tests
  22. context: .
  23. privileged: true
  24. depends_on:
  25. - timescale
  26. - graphite
  27. - influx
  28. command: ./ci/wait-for-it.sh timescale:5432 -- ./ci/wait-for-it.sh influx:8086 -- ./ci/wait-for-it.sh graphite:2003 -- ./ci/wait-for-it.sh graphite:8080 -- ./ci/wait-for-it.sh graphite:80 -- mono /root/.nuget/packages/xunit.runner.console/2.4.1/tools/net461/xunit.console.exe OhmGraphite.Test/bin/Debug/net461/OhmGraphite.Test.dll