docker-compose.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. version: '3'
  2. services:
  3. influx:
  4. image: influxdb:1.8-alpine
  5. environment:
  6. INFLUXDB_DB: "mydb"
  7. INFLUXDB_USER: "my_user"
  8. INFLUXDB_USER_PASSWORD: "my_pass"
  9. influx-passwordless:
  10. image: influxdb:1.8-alpine
  11. environment:
  12. INFLUXDB_DB: "mydb"
  13. INFLUXDB_USER: "my_user"
  14. INFLUXDB_HTTP_AUTH_ENABLED: "false"
  15. graphite:
  16. image: graphiteapp/graphite-statsd
  17. environment:
  18. REDIS_TAGDB: "y"
  19. timescale:
  20. build:
  21. dockerfile: ci/Dockerfile.timescale
  22. context: .
  23. environment:
  24. POSTGRES_PASSWORD: 123456
  25. app:
  26. build:
  27. dockerfile: ci/Dockerfile.tests
  28. context: .
  29. privileged: true
  30. depends_on:
  31. - timescale
  32. - graphite
  33. - influx
  34. 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