stacks/Semaphore/docker-compose.yml

39 lines
1,000 B
YAML
Raw Normal View History

version: "3"
services:
db:
image: mariadb:lts
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore
volumes:
- db:/var/lib/mysql
restart: unless-stopped
web:
image: semaphoreui/semaphore:latest
ports:
- 3000:3000
environment:
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_PASS: semaphore
SEMAPHORE_DB_HOST: db
SEMAPHORE_DB_PORT: 3306
SEMAPHORE_DB_DIALECT: mysql
SEMAPHORE_DB: semaphore
SEMAPHORE_PLAYBOOK_PATH: /playbooks/
SEMAPHORE_ADMIN_PASSWORD: changeme
SEMAPHORE_ADMIN_NAME: admin
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
SEMAPHORE_ACCESS_KEY_ENCRYPTION: gs72mPntFATGJs9qK0pQ0rKtfidlexiMjYCH9gWKhTU= # use "head -c32 /dev/urandom | base64" for String
volumes:
- data:/playbooks
depends_on:
- db
restart: unless-stopped
volumes:
data:
db: