68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# networks
 | 
						|
#networks:
 | 
						|
#  semaphore_net:
 | 
						|
#    driver: bridge
 | 
						|
 | 
						|
# services
 | 
						|
services:
 | 
						|
# postgres
 | 
						|
  postgres:
 | 
						|
    restart: unless-stopped
 | 
						|
    ports:
 | 
						|
    - 5432:5432
 | 
						|
    image: postgres:14
 | 
						|
    container_name: semaphore-postgres
 | 
						|
    hostname: semaphore-postgres
 | 
						|
    volumes:
 | 
						|
      - ./data/:/var/lib/postgres/data:Z
 | 
						|
    environment:
 | 
						|
      POSTGRES_USER: semaphore
 | 
						|
      POSTGRES_PASSWORD: semaphore
 | 
						|
      POSTGRES_DB: semaphore
 | 
						|
#    networks:
 | 
						|
#      semaphore_net:
 | 
						|
# semaphore
 | 
						|
  semaphore:
 | 
						|
    restart: unless-stopped
 | 
						|
    ports:
 | 
						|
    - 3000:3000
 | 
						|
    image: semaphoreui/semaphore:latest
 | 
						|
    container_name: semaphore-app
 | 
						|
    environment:
 | 
						|
      SEMAPHORE_DB_USER: semaphore
 | 
						|
      SEMAPHORE_DB_PASS: semaphore     # changeme
 | 
						|
      SEMAPHORE_DB_HOST: semaphore-postgres
 | 
						|
      SEMAPHORE_DB_PORT: 5432
 | 
						|
      SEMAPHORE_DB: semaphore
 | 
						|
      SEMAPHORE_MAIL_ALERT: ''
 | 
						|
      SEMAPHORE_MAIL_SENDER: ''
 | 
						|
      SEMAPHORE_MAIL_HOST: ''
 | 
						|
      SEMAPHORE_MAIL_PORT: ''
 | 
						|
      SEMAPHORE_DB_DIALECT: postgres
 | 
						|
      SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/
 | 
						|
      SEMAPHORE_MAX_PARALLEL: '0'
 | 
						|
      SEMAPHORE_ADMIN_PASSWORD: semaphore   # changeme
 | 
						|
      SEMAPHORE_ADMIN_NAME: admin
 | 
						|
      SEMAPHORE_ADMIN_EMAIL: admin@tips-of-mine.fr
 | 
						|
      SEMAPHORE_ADMIN: admin
 | 
						|
      SEMAPHORE_ACCESS_KEY_ENCRYPTION: LT8ZJxC53lQ5iN01PxzbMYX68ljJXfkQtqDhH6yZLuU=
 | 
						|
      ANSIBLE_HOST_KEY_CHECKING: false
 | 
						|
      SEMAPHORE_LDAP_ACTIVATED: 'no'
 | 
						|
      SEMAPHORE_LDAP_HOST: SWDCP01.tips-of-mine.local
 | 
						|
      SEMAPHORE_LDAP_PORT: '389'
 | 
						|
      SEMAPHORE_LDAP_NEEDTLS: 'yes'
 | 
						|
      SEMAPHORE_LDAP_DN_BIND: 'uid=bind_user,cn=users,cn=accounts,dc=tips-of-mine,dc=local'
 | 
						|
      SEMAPHORE_LDAP_PASSWORD: 'ldap_bind_account_password'
 | 
						|
      SEMAPHORE_LDAP_DN_SEARCH: 'dc=tips-of-mine,dc=local'
 | 
						|
      SEMAPHORE_LDAP_SEARCH_FILTER: "(\u0026(uid=%s)(memberOf=CN=GS-Semaphore-Utilisateurs,OU=Semaphore,OU=Services,OU=Groupes,OU=Societe,DC=tips-of-mine,DC=local))"
 | 
						|
    depends_on:
 | 
						|
    - postgres
 | 
						|
    volumes:
 | 
						|
    - ./inventory/:/inventory:ro
 | 
						|
    - ./authorized-keys/:/authorized-keys:ro
 | 
						|
#    networks:
 | 
						|
#      semaphore_net:
 | 
						|
# volumes
 | 
						|
#volumes:
 | 
						|
#  semaphore-postgres:
 |