docker run --name semaphore \ -p 3000:3000 \ -e SEMAPHORE_DB_DIALECT=sqlite \ -e SEMAPHORE_ADMIN=admin \ -e SEMAPHORE_ADMIN_PASSWORD=changeme \ -e SEMAPHORE_ADMIN_NAME="Admin" \ -e SEMAPHORE_ADMIN_EMAIL=admin@localhost \ -d semaphoreui/semaphore:v2.18.27
services:
semaphore:
ports:
- 3000:3000
image: semaphoreui/semaphore:v2.18.27
environment:
SEMAPHORE_DB_DIALECT: sqlite
SEMAPHORE_ADMIN_PASSWORD: changeme
SEMAPHORE_ADMIN_NAME: admin
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
Contains frequently changing files. | |
Contains configuration files. | |
Contains cache: cloned repositories, generated inventory files, etc. |
Contains Postgres data files. |
Contains MySQL data files. |
Network name to connect Semaphore with |
SEMAPHORE_PORT The port that the Semaphore server will listen on. | |
SEMAPHORE_INTERFACE Name of the network interface to bind to. | |
SEMAPHORE_TMP_PATH The path to store temporary files | |
SEMAPHORE_GIT_CLIENT Type of Git client. Can be 'cmd_git' or 'go_git'. | |
SEMAPHORE_WEB_ROOT Public address of the Semaphore server. For example, 'https://company.com/semaphore'. | |
SEMAPHORE_SCHEDULE_TIMEZONE Timezone used for scheduling tasks and cron jobs. | |
MAX_TASK_DURATION_SEC Max duration of a task in seconds. | |
SEMAPHORE_MAX_PARALLEL_TASKS Max number of parallel tasks that can be run on the server. | |
SEMAPHORE_MAX_TASK_DURATION_SEC | |
SEMAPHORE_PASSWORD_LOGIN_DISABLED Deny password login. | |
SEMAPHORE_NON_ADMIN_CAN_CREATE_PROJECT Allow non-admin users to create projects. | |
SEMAPHORE_MAX_TASKS_PER_TEMPLATE Maximum number of recent tasks stored in the database for each template. | |
SEMAPHORE_APPS JSON map which contains apps configuration. | |
SEMAPHORE_ENV_VARS JSON map which contains environment variables. | |
SEMAPHORE_FORWARDED_ENV_VARS JSON array of environment variables which will be forwarded from system. | |
SEMAPHORE_IMPORT_PROJECT_FILE Path to the project file to import. |
SEMAPHORE_DB_OPTIONS JSON map which contains database connection options. |
SEMAPHORE_EMAIL_ALERT Flag which enables email alerts. | |
SEMAPHORE_EMAIL_SENDER Email address of the sender. | |
SEMAPHORE_EMAIL_HOST SMTP server hostname. | |
SEMAPHORE_EMAIL_PORT SMTP server port. | |
SEMAPHORE_EMAIL_USERNAME Username for SMTP server authentication. | |
SEMAPHORE_EMAIL_PASSWORD Password for SMTP server authentication. | |
SEMAPHORE_EMAIL_SECURE Enable StartTLS to upgrade an unencrypted SMTP connection to a secure, encrypted one. | |
SEMAPHORE_EMAIL_TLS Use SSL or TLS connection for communication with the SMTP server. | |
SEMAPHORE_EMAIL_TLS_MIN_VERSION Minimum TLS version to use for the connection. |
SEMAPHORE_LDAP_ENABLE Flag which enables LDAP authentication. | |
SEMAPHORE_LDAP_BIND_DN | |
SEMAPHORE_LDAP_BIND_PASSWORD | |
SEMAPHORE_LDAP_SERVER | |
SEMAPHORE_LDAP_SEARCH_DN | |
SEMAPHORE_LDAP_SEARCH_FILTER | |
SEMAPHORE_LDAP_NEEDTLS | |
SEMAPHORE_LDAP_MAPPING_DN LDAP attribute to use as the distinguished name (DN) mapping for user authentication. | |
SEMAPHORE_LDAP_MAPPING_MAIL LDAP attribute to use as the email address mapping for user authentication. | |
SEMAPHORE_LDAP_MAPPING_UID | |
SEMAPHORE_LDAP_MAPPING_CN |
SEMAPHORE_EVENT_LOG_FORMAT | |
SEMAPHORE_EVENT_LOG_ENABLED | |
SEMAPHORE_EVENT_LOGGER | |
SEMAPHORE_TASK_LOG_FORMAT | |
SEMAPHORE_TASK_LOG_ENABLED | |
SEMAPHORE_TASK_LOGGER | |
SEMAPHORE_TASK_RESULT_LOGGER |
SEMAPHORE_COOKIE_HASH Secret key used to sign cookies. | |
SEMAPHORE_COOKIE_ENCRYPTION Secret key used to encrypt cookies. | |
SEMAPHORE_ACCESS_KEY_ENCRYPTION Secret key used to encrypt access keys. |
SEMAPHORE_TOTP_ENABLED Enable Two-factor authentication with using TOTP. | |
SEMAPHORE_TOTP_ALLOW_RECOVERY Allow users to reset TOTP using a recovery code. | |
SEMAPHORE_TOTP_ISSUER Issuer name displayed in TOTP authenticator apps. |
SEMAPHORE_TLS_ENABLED Enable or disable TLS (HTTPS) for secure communication with the Semaphore server. | |
SEMAPHORE_TLS_CERT_FILE Path to TLS certificate file. | |
SEMAPHORE_TLS_KEY_FILE Path to TLS key file. | |
SEMAPHORE_TLS_HTTP_REDIRECT_PORT Port to redirect HTTP traffic to HTTPS. Mutually exclusive with tls.http_redirect_addr. | |
SEMAPHORE_TLS_HTTP_REDIRECT_ADDR Address (host[:port]) for the HTTP→HTTPS redirect listener. Mutually exclusive with tls.http_redirect_port. |
SEMAPHORE_PROCESS_USER | |
SEMAPHORE_PROCESS_UID | |
SEMAPHORE_PROCESS_GID | |
SEMAPHORE_PROCESS_CHROOT |
SEMAPHORE_TELEGRAM_ALERT | |
SEMAPHORE_TELEGRAM_CHAT | |
SEMAPHORE_TELEGRAM_TOKEN |
SEMAPHORE_SLACK_ALERT | |
SEMAPHORE_SLACK_URL |
SEMAPHORE_ROCKETCHAT_ALERT | |
SEMAPHORE_ROCKETCHAT_URL |
SEMAPHORE_MICROSOFT_TEAMS_ALERT Flag which enables Microsoft Teams alerts. | |
SEMAPHORE_MICROSOFT_TEAMS_URL Microsoft Teams webhook URL. |
SEMAPHORE_DINGTALK_ALERT Enable Dingtalk alerts. | |
SEMAPHORE_DINGTALK_URL Dingtalk messenger webhook URL. |
SEMAPHORE_GOTIFY_ALERT Enable Gotify alerts. | |
SEMAPHORE_GOTIFY_URL Gotify server URL. | |
SEMAPHORE_GOTIFY_TOKEN Gotify server token. |
ANSIBLE_HOST_KEY_CHECKING Avoid host key checking by the tools Ansible uses to connect to the host. |