-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathcompose.yml
30 lines (30 loc) · 808 Bytes
/
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
services:
master:
container_name: salt_master
image: ghcr.io/cdalvaro/docker-salt-master:latest
restart: unless-stopped
volumes:
- ./roots:/home/salt/data/srv
- ./keys:/home/salt/data/keys
- ./logs:/home/salt/data/logs
ports:
- "4505:4505"
- "4506:4506"
### salt-api port
# - "8000:8000"
healthcheck:
test: ["CMD", "/usr/local/sbin/healthcheck"]
start_period: 30s
environment:
DEBUG: false
TZ: Europe/Madrid
PUID: 1000
PGID: 1000
SALT_LOG_LEVEL: info
### salt-api settings
# SALT_API_ENABLED: 'True'
# SALT_API_USER: salt_api
# SALT_API_USER_PASS: 4wesome-Pass0rd
### salt-minion settings
# SALT_MINION_ENABLED: 'True'
# SALT_MINION_ID: builtin.minion