Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
Rancher-Catalog
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Docker
Rancher-Catalog
Commits
016fed8b
Commit
016fed8b
authored
Jun 19, 2019
by
施晓雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yml
parent
74861a8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
answers.txt
templates/influxdb/0/answers.txt
+3
-0
docker-compose.yml.tpl
templates/influxdb/0/docker-compose.yml.tpl
+36
-0
No files found.
templates/influxdb/0/answers.txt
0 → 100644
View file @
016fed8b
EXPOSE_SERVICE=true
influxdb_port=8086
\ No newline at end of file
templates/influxdb/0/docker-compose.yml.tpl
0 → 100644
View file @
016fed8b
version: '2'
services:
{{- if eq .Values.EXPOSE_SERVICE "true"}}
lb:
image: rancher/lb-service-haproxy:v0.6.2
ports:
- $
{
influxdb_port
}
:8086/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
{{- end}}
influxdb:
image: influxdb:1.2.2-alpine
stdin_open: true
tty: true
labels:
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$$
{
stack_name
}
/$$
{
service_name
}
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: influxdb-volume
volumes_from:
- influxdb-volume
influxdb-volume:
network_mode: "none"
labels:
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$$
{
stack_name
}
/$$
{
service_name
}
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
environment:
- SERVICE_UID=0
- SERVICE_GID=0
- SERVICE_VOLUME=/var/lib/influxdb
volumes:
- /var/lib/influxdb
volume_driver: local
image: rawmind/alpine-volume:0.0.2-1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment