Code Monkey home page Code Monkey logo

services-docker's Introduction

David Williamson @ Varilink Computing Ltd

In this GitHub account I share my work as a Linux and blockchain system administrator and full-stack web developer, where it can be made public. The repositories herein are predominantly not packaged applications but I share them in case they are useful to anybody who is tackling similar challenges and might benefit from seeing how somebody else did it. I also blog on selected topics related to this work for the same reason.

Latest Blog Posts

Projects

I organise these repositories by project but I don't use the project board functionality within GitHub. There follows a list of projects and the repositories associated with each of them.

Derby Arts and Theatre Association

The Derby Arts and Theatre Association (DATA) is the representative body for amateur performing arts in the Derby area.

Repositories:

The Friends of Bennerley Viaduct

The Friends of Bennerley Viaduct (FoBV) are "Dedicated to restoring, conserving and celebrating Bennerley Viaduct".

Repositories:

New Opera Company

New Opera Company, Derby, founded in 1959 was the only local company singing grand opera.

Repositories:

Telos UK

Telos UK is "a Founding Block Producer on the Telos Public Network".

Repositories:

Varilink Computing Ltd (Libraries)

Libraries that are used across multiple of my projects.

Repositories:

Varilink Computing Ltd (Services)

Services such as backup, mail, etc. deployed across the Varilink Computing Ltd server estate.

Repositories:

Varilink Computing Ltd (Tools)

Client side tools that I use across multiple projects.

Repositories:

Varilink Computing Ltd (Website)

The website for Varilink Computing Ltd.

Repositories:

services-docker's People

Contributors

varilink avatar

Watchers

 avatar  avatar

services-docker's Issues

Playbook arguments with spaces in them not reported correctly

The Docker Compose playbook service runs Ansible playbooks. It allows you to pass arguments to it that docker-compose run supports; for example --start-at-task. Without fail, the task name that follows --start-at-task as spaces in it. This is actually handled okay but the "What I am about to run" report doesn't report that task name in quotes as it should.

Dependency on bash support on the client/desktop

This repo currently uses bash helper scripts. This makes it dependent on bash support on the client/desktop. That limits it currently to my Debian desktops, so I couldn't use when on my Windows desktops.

I think that this dependency could be eliminated by wrapping the helper scripts themselves within Docker containers.

Use Docker client tool for Ansible

If I were to add an additional Docker client tool that implemented Ansible then that would remove a client/desktop dependency to use this repo. Then you would only need to have Docker installed on the client/desktop, not Ansible, and you'd still be able to use this repo.

mysqld_safe does not output to stdout/stderr

I am running MariaDB within containers using mysqld_safe, since according to the documentation "mysqld_safe is the recommended way to start mysqld on Linux and Unix distributions that do not support systemd." However, this approach is not currently appending log output to /var/log/services.log like all the other services do and as is required for my logging approach to work. I need to find a way to correct this.

Workaround for intermittent process start failures

We still have intermittent failure to start processes in the roles in my-roles/ when running playbooks. When this happens you can just rerun the playbook and if the role includes a start task between the install and configure tasks (i.e. we're not reliant on handlers only to start the process) then everything works okay. This seems to confirm that the cause of these failures is intermittent.

I want to add two things to mitigate this:

  1. Some guidance in the output when this happens stating that all you need to do is rerun the playbook, perhaps with some additional instructions if they're needed.
  2. A way to ensure that where there isn't an explicit start task between the install and configure tasks we do attempt to start the process on the rerun.

Limit backup configuratation to raised hosts

When you raise-hosts including the backup service, the service is configured for all known backed up hosts, which will probably include hosts that weren't included in the raise-hosts scope. Can we make it that only the hosts in the raise-hosts scope are configured without polluting the Libraries - Ansible repository in doing so.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.