From ffcfcb1f0392bc439285ff4c4aae532783a64728 Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 27 Jan 2024 23:13:43 +0100 Subject: [PATCH] =?UTF-8?q?Semaphore/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Semaphore/docker-compose.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Semaphore/docker-compose.yml diff --git a/Semaphore/docker-compose.yml b/Semaphore/docker-compose.yml new file mode 100644 index 0000000..903f15e --- /dev/null +++ b/Semaphore/docker-compose.yml @@ -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: \ No newline at end of file