GithubHelp home page GithubHelp logo

toolboxaid / docker-assistant Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.04 MB

This project helps newbies to get started hosting docker with SSL based web sites (includes: Traefik, DDClient, WordPress, Portainer, etc...). More to be added as needed.

PHP 6.40% Shell 93.52% Roff 0.07%
bash docker script docker-compose templates ddclient phpmyadmin portainer traefik whoami wordpress lynx synology linux linux-shell

docker-assistant's Introduction

This is an image

Docker Assistant

Requirements:

What this will NOT do for you:

  • Teach you how to debug any issues you may have

You CANNOT move scripts between directories (if you do, learn to debug).

Your clone directory will contain ( I used:'./docker_assistant/')

/voloume1
  └── docker_assistant
       ├── custom_data - misc files used in a container setup
       ├── scripts     - re-usable code base (bash scripts)
       └── templates   - deployment container and scripts

Templates are deployed in two of the three directories off the ./docker_assistant/:

/voloume1
  └── docker_assistant
       ├── dev   not a deploy directory, this is where we try things out, or setup a degug environment.
       ├── lan   1 local area network, no intarnet access, only intranet (local lan) via a whitelist (wan access will receive a not authorized)
       └── wan   2 wide area network, accessible from internet and intranet

Each template will have a dedicated folder and deployment script

Naming standard should be {PACKAGE_NAME}-{VERSION}

  • i.e. Template: 'whoami' is deployed using the script 'whoami.sh'

Every template will contain the below set of scripts (no description as they are self explanatory)

Currently, these do not have any parameters, so no -h option If the deployment package does not support something, a message will be diplayed when executed

/voloume1
  └── docker_assistant
       └── {lan or wan}
            └── {container_name}
                ├── attach.sh
                ├── down.sh
                ├── env.sh
                ├── log.error.sh
                ├── log.standard.sh
                ├── log.tail.sh
                ├── restart.sh
                └──  up.sh

You can execute these by doing:

sudo ./{script}.sh
sudo ./up.sh

Follow this Set Me Up page to get going

Notes:

More projects at: ToolboxAid.com.

Docker external network access meaning:

  • external: false # prevents talking to other containers (creates new network for exe)
  • external: true # allows talking to other containers (used defined network in docker-compose)

docker-assistant's People

Contributors

toolboxaid avatar

Watchers

 avatar

Forkers

qbytes-dq

docker-assistant's Issues

Default/Base directory for below files needs to be a variable

If user installs to a different directory, the code is broken.

- /docker_assistant/scripts/.docker.zip.include.base.lst
- /docker_assistant/scripts/.docker.zip.include.full.lst
- /docker_assistant/scripts/.docker.zip.include.site.lst

Example data:

docker_assistant/custom_data/*
docker_assistant/scripts/*
docker_assistant/templates/*

Move the creation of these files to 'setup.env.sh' or 'TBA_env_file.sh'

'docker_zip_backup.sh' has already been updated, but will need re-tested.

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.