mirror of
https://github.com/ditkrg/semaphore.git
synced 2026-01-22 19:57:01 +00:00
init
This commit is contained in:
commit
422f655875
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
id_rsa*
|
||||
.vagrant
|
||||
13
Vagrantfile
vendored
Normal file
13
Vagrantfile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
(1..3).each do |i|
|
||||
config.vm.define "node-#{i}.ansible.internal" do |node|
|
||||
node.vm.box = "generic/ubuntu2204"
|
||||
node.vm.hostname = "node-#{i}.ansible.internal"
|
||||
node.vm.network "private_network", ip: "192.168.50.2#{i}"
|
||||
|
||||
node.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "6144"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
3
ansible/task.yaml
Normal file
3
ansible/task.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- name: print message
|
||||
debug:
|
||||
msg: "Hello world"
|
||||
34
docker-compose.yaml
Normal file
34
docker-compose.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:15
|
||||
network_mode: host
|
||||
environment:
|
||||
POSTGRES_USER: semaphore
|
||||
POSTGRES_PASSWORD: semaphore
|
||||
POSTGRES_DB: semaphore
|
||||
semaphore:
|
||||
network_mode: host
|
||||
image: semaphoreui/semaphore:v2.9.37
|
||||
environment:
|
||||
SEMAPHORE_DB_USER: semaphore
|
||||
SEMAPHORE_DB_PASS: semaphore
|
||||
SEMAPHORE_DB_HOST: localhost
|
||||
SEMAPHORE_DB_PORT: 5432
|
||||
SEMAPHORE_DB_DIALECT: postgres
|
||||
SEMAPHORE_DB: semaphore
|
||||
SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/
|
||||
SEMAPHORE_ADMIN_PASSWORD: admin
|
||||
SEMAPHORE_ADMIN_NAME: admin
|
||||
SEMAPHORE_ADMIN_EMAIL: mohamad.tahir@dit.gov.krd
|
||||
SEMAPHORE_ADMIN: admin
|
||||
SEMAPHORE_ACCESS_KEY_ENCRYPTION: gs72mPntFATGJs9qK0pQ0rKtfidlexiMjYCH9gWKhTU=
|
||||
SEMAPHORE_LDAP_ACTIVATED: 'no' # if you wish to use ldap, set to: 'yes'
|
||||
SEMAPHORE_LDAP_HOST: dc01.local.example.com
|
||||
SEMAPHORE_LDAP_PORT: '636'
|
||||
SEMAPHORE_LDAP_NEEDTLS: 'yes'
|
||||
SEMAPHORE_LDAP_DN_BIND: 'uid=bind_user,cn=users,cn=accounts,dc=local,dc=shiftsystems,dc=net'
|
||||
SEMAPHORE_LDAP_PASSWORD: 'ldap_bind_account_password'
|
||||
SEMAPHORE_LDAP_DN_SEARCH: 'dc=local,dc=example,dc=com'
|
||||
SEMAPHORE_LDAP_SEARCH_FILTER: "(\u0026(uid=%s)(memberOf=cn=ipausers,cn=groups,cn=accounts,dc=local,dc=example,dc=com))"
|
||||
depends_on:
|
||||
- postgres
|
||||
Loading…
Reference in New Issue
Block a user