Semaphore/docker-compose.yml hinzugefügt

This commit is contained in:
Phil 2024-01-27 23:13:43 +01:00
parent 1c0904b473
commit ffcfcb1f03

View file

@ -0,0 +1,39 @@
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: