-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test-mango.yaml
46 lines (42 loc) · 1.15 KB
/
docker-compose-test-mango.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Compose file to set up the following services for local testing:
# - grafana
# - prometheus
# - loki
# - promtail
# based heavily on:
# https://grafana.com/docs/grafana-cloud/quickstart/docker-compose-linux/
# https://raw.githubusercontent.com/grafana/loki/v2.8.0/production/docker-compose.yaml
#
# NOTE:
# this compose file should be invoked with `--podman-run-args="--systemd=true"`
version: "3.9"
networks:
mango:
driver: bridge
services:
mango-ubuntu-2204:
image: mango-test-ubuntu:latest
hostname: testbox-ubuntu
restart: unless-stopped
ports:
- "9555"
networks:
- mango
volumes:
- ./mango:/usr/bin/mango
- ./mh:/usr/bin/mh
- ./test/mockup/inventory:/opt/mango/inventory/:ro
- ./test/mockup/testbox-ubuntu-mount/:/testbox-ubuntu-mount/
mango-archlinux:
image: mango-test-arch:latest
hostname: testbox-arch
restart: unless-stopped
ports:
- "9555"
networks:
- mango
volumes:
- ./mango:/usr/bin/mango
- ./mh:/usr/bin/mh
- ./test/mockup/inventory/:/opt/mango/inventory/:ro
- ./test/mockup/testbox-arch-mount/:/testbox-arch-mount/