-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathcompose.yml
43 lines (41 loc) · 1.27 KB
/
compose.yml
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
version: "3"
services:
dashboard:
build: .
image: localhost:5000/dashboard
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- lego-files:/lego-files
ports:
- 8081:8081
environment:
PORT: 8081
TZ: "Asia/Tehran"
# PATH_PREFIX: "/"
# SHOW_TASK_TIMESTAMP: "false"
# DOCKER_UPDATE_INTERVAL: 4000
# ENABLE_AUTHENTICATION: "false"
# ENABLE_AUTHENTICATION: "true"
# AUTHENTICATION_REALM: "KuW2i9GdLIkql"
# USERNAME: "admin"
# PASSWORD: "supersecret"
# ENABLE_HTTPS: "false"
# ENABLE_HTTPS: "true"
# HTTPS_HOSTNAME: "example.com"
# LEGO_NEW_COMMAND_ARGS: "--accept-tos [email protected] --domains=example.com --dns cloudflare run"
# LEGO_RENEW_COMMAND_ARGS: "--accept-tos [email protected] --domains=example.com --dns cloudflare renew"
# CLOUDFLARE_EMAIL: "[email protected]"
# CLOUDFLARE_API_KEY: "yourprivatecloudflareapikey"
# NODE_EXPORTER_SERVICE_NAME_REGEX: "node-exporter"
# USE_RENEW_DELAY_ON_START: "false"
deploy:
replicas: 1
update_config:
parallelism: 1
restart_policy:
condition: on-failure
placement:
constraints:
- node.role == manager
volumes:
lego-files: