Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asbl-docker_compose_generator

Description

This repo contain the ansible role that generate docker-compose file from template :

  • connect to dockerhub using docker login (in order to avoid docker pull on private registry).
  • fix ownership and right on volume files.
  • create docker-compose.yml file from template.
  • launch docker compose (using )

Prerequisite

  • None

Usage

Use role

  • Add the role git source in "requirements.yml" file :
  - name: role_name
    scm: git
    src: https://github.com/tiny-company/<repository_name>.git
    version: main
  • And then use the galaxy command to load the file dependencies :
ansible-galaxy install -r requirements.yml
  • Or manually get the playbook as collection (with ansible-galaxy) :
ansible-galaxy collection install https://github.com/tiny-company/<repository_name>.git

Variables

For an exhaustive list of variables check the defaults file. Ideally, all values will have commentaries describing what are their purposes and by the default value you can tell the type.

Source :

About

ansible role to generate docker-compose file

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages