---
version: "2"
services:
cloud9:
image: linuxserver/cloud9:1.29.2
container_name: cloud9
restart: unless-stopped
environment:
- USERNAME # Optionally specify a username for http auth
- TZ=Europe/London # Specify a timezone to use EG Europe/London
- PUID # for UserID
- PGID # for GroupID
- PASSWORD # Optionally specify a password for http auth (if USERNAME and PASSWORD are not set, there will be no http auth)
- GITURL=https://github.com/linuxserver/docker-cloud9.git # Specify a git repo to checkout on first startup
volumes:
- /host/path/to/var/run/docker.sock:/var/run/docker.sock # Needed if you plan to use Docker or compose commands
- /host/path/to/code:/code # Optionally if you want to mount up a local folder of code instead of checking out
ports:
- 8000:8000/tcp # The port for the Cloud9 web interface