You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
728 B
37 lines
728 B
version: "3" |
|
services: |
|
app: |
|
container_name: app |
|
depends_on: |
|
- mongo |
|
restart: always |
|
build: . |
|
image: custom/node |
|
ports: |
|
- "3001:3001" |
|
links: |
|
- mongo |
|
mongo: |
|
container_name: mongo |
|
image: mongo |
|
ports: |
|
- "27017:27017" |
|
prometheus: |
|
container_name: prometheus |
|
image: prom/prometheus:latest |
|
volumes: |
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml |
|
ports: |
|
- 9090:9090 |
|
grafana: |
|
container_name: grafana |
|
image: grafana/grafana |
|
ports: |
|
- 3000:3000 |
|
# configuration below to set subnet in order to function within BB network. |
|
networks: |
|
default: |
|
ipam: |
|
driver: default |
|
config: |
|
- subnet: 192.168.5.0/24
|
|
|