Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
Created November 26, 2019 10:37
Show Gist options
  • Save dbiesecke/469f393b184140403afee5b1af4cb96a to your computer and use it in GitHub Desktop.
Save dbiesecke/469f393b184140403afee5b1af4cb96a to your computer and use it in GitHub Desktop.
c9 / c50ide
services:
cloud9:
image: cs50/ide
container_name: cloud9
environment:
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
# - PORT=80
# - IP=178.254.3.20
- USERNAME=bob
- PASSWORD=hacks
- WORKSPACE=/workspace
volumes:
- /root/docker/data/c9/init.js:/home/ubuntu/.c9/init.js:rw
- /root/src:/home/ubuntu/workspace/src:rw
- /opt/www:/home/ubuntu/workspace/www:rw
- /home/main:/home/ubuntu/workspace/user-main:rw
ports:
- 127.0.0.1:8181:5050
- 127.0.0.1:8080:8080
# command: --auth bob:hacks -p 80 -l 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment