Пример #1
0
 def destroy(self, config, client):
     docker_stack(
         command='rm',
         stack_name='portainer'
     )
Пример #2
0
 def build(self, config, client):
     docker_stack(
         command='deploy',
         compose_file=os.path.dirname(__file__) + '/docker-compose.yml',
         stack_name='portainer'
     )
Пример #3
0
 def destroy(self, config, client):
     docker_stack(command='rm', stack_name='traefik')
Пример #4
0
 def destroy(self, config, client):
     docker_stack(command='rm', stack_name='visualizer')
Пример #5
0
 def destroy(self, config, client):
     docker_stack(command='rm', stack_name='registry')
Пример #6
0
 def destroy(self, config, client):
     docker_stack(command='rm', stack_name='logging')