| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
docker run --rm -p 8080:80 \
-e CODIAD_UID=$UID -e CODIAD_GID=$GID \
-v $PWD/code:/code \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
wernight/codiad
Then open your browser at http://localhost:8080.
Parameters:
TL;DR - The CODIAD_UID and CODIAD_UID values set the user / group you'd like your container to 'run as'. This can be a user you've created or even root (not recommended).
Part of what makes our containers work so well is by allowing you to specify your own PUID and PGID. This avoids nasty permissions errors with relation to data volumes (-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
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
You can easily extend to include tool you may need and have them ready whenever you re-create your container. Just create a Dockerfile like:
FROM wernight/codiad RUN apt update && apt install -y build-essential python
Now you can just build and use your new image:
$ docker build -t codiad . $ docker run --rm -p 8080:80 codiad
Suggestions are welcome on our GitHub issue tracker.
| Back | FazBrowse Home | New Git URL |