0aea6b96ca
Closes #853 --------- Co-authored-by: Aram Akhavan <github@aram.nubmail.ca> Co-authored-by: Aram Akhavan <1147328+kaysond@users.noreply.github.com>
26 lines
695 B
YAML
26 lines
695 B
YAML
services:
|
|
app:
|
|
image: mcr.microsoft.com/devcontainers/base:ubuntu-22.04
|
|
volumes:
|
|
- ..:/workspaces/scrutiny:cached
|
|
command: sleep infinity
|
|
network_mode: service:influxdb
|
|
|
|
influxdb:
|
|
image: influxdb:2.8
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8086:8086"
|
|
environment:
|
|
- DOCKER_INFLUXDB_INIT_MODE=setup
|
|
- DOCKER_INFLUXDB_INIT_USERNAME=admin
|
|
- DOCKER_INFLUXDB_INIT_PASSWORD=password12345
|
|
- DOCKER_INFLUXDB_INIT_ORG=scrutiny
|
|
- DOCKER_INFLUXDB_INIT_BUCKET=metrics
|
|
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=my-super-secret-auth-token
|
|
volumes:
|
|
- scrutiny-influxdb-data:/var/lib/influxdb2
|
|
|
|
volumes:
|
|
scrutiny-influxdb-data:
|