/Ansible-DockerLab

Provisions Docker host with a group of services

Primary LanguageMakefile

DockerLab

  • Requires Docker engine, Docker SDK, and Docker Compose to be installed. Installs the following services:
    • Heimdall
    • code-server
    • Portainer
    • WordPress
    • NextCloud
    • Jellyfin

Example Instructions

  1. run update and upgrades (if required)

  2. clone https://github.com/jlrzhen/controllerSetup-Ubuntu-20.04
    a. copy hosts.example to /etc/ansible/hosts
    b. install python3.8
    c. run controllerSetup.sh
    d. restart shell to reload bashrc
    e. ansible-playbook dockerHostSetup.yml -K
    f. run enableDocker.sh

  3. clone https://github.com/jlrzhen/Ansible-DockerLab
    a. configure vars/default.yml and rename to default.yml
    b. configure docker-compose/*/.env
    c. pip install docker docker-compose
    d. make apply

Migrating appData

  • Make sure to chown -R root after extracting and before starting services
    • alternatively, use tar --same-owner -xzvf when extracting archive
  • Jellyfin requires chown user
  • Disable nextcloud appData