Public | Automated Build

Last pushed: a day ago
Short Description
Web-based cloud IDE and code editor with minimal footprint and requirements.
Full Description

Supported tags and respective Dockerfile links

What is Codiad

Codiad is a web-based IDE framework with a small footprint and minimal requirements.

You can add many plugins from the Web UI by opening the right side bar and clicking Marketplace.

Features of this image

  • Runs as non-root (Nginx run as nginx and PHP-FPM run as random UID 2743 user once started).
  • Based on Alpine (very small, below 100 MB) with S6 supervisor (lightweight).
  • Using Nginx + PHP-FPM (very performant).
  • Includes a brute-force attack protection.

How to use this image

docker run --rm -p 8080:80 \
    -v /etc/localtime:/etc/localtime:ro \
    -v $PWD/code:/code \
    wernight/codiad

Then open your browser at http://localhost:8080.

Parameters:

  • -p 80 ‒ the port(s) to expose.
  • -v /etc/localtime(optional) used for timesync.
  • -v /code ‒ persists your configuration and installed plugins (you may also use a Docker volume).

Setting up your projects

  • Store your projects somewhere below /code/, for data persistence (or mount another volume).
  • Install common plug-ins via the web interface, like:

    • Collaboration
    • Terminal
      • Change /code/plugins/Codiad-Terminal-master/emulator/term.php to change terminal password (default is terminal).
    • CodeGit

      • Change /code/plugins/Codiad-CodeGit-master/shell.sh to add Git user/pass.
      • To set up SSH key (see also Codiad Wiki) you can run using Codiad Terminal:

        ssh-keygen -f ~/.ssh/id_rsa
        ssh-keyscan -t rsa,dsa $DOMAIN_NAME >> ~/.ssh/known_hosts
        cat ~/.ssh/id_rsa.pub
        
    • Drag and Drop
    • Emmet
    • ...

Updates

Upgrade to the latest version simply docker restart my-codiad-container-name.

Versions

  • 2016-06-24: Base on Alpine + S6 + Nginx + PHP-FPM.
  • 2016-06-23: Removed plug-ins and inlined this repos' init scripts.
  • 2016-06-22: Initial release based on the excellent LinuxServer.io codiac image

Feedbacks

Suggestions are welcome on our GitHub issue tracker.

Docker Pull Command
Owner
wernight
Source Repository

Comments (0)