Semaphore/docker-compose.yml hinzugefügt
This commit is contained in:
parent
1c0904b473
commit
ffcfcb1f03
1 changed files with 39 additions and 0 deletions
39
Semaphore/docker-compose.yml
Normal file
39
Semaphore/docker-compose.yml
Normal 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:
|
Loading…
Reference in a new issue