Skip to content

Instantly share code, notes, and snippets.

@nanoninja
Created January 5, 2017 14:30
Show Gist options
  • Save nanoninja/b0b0af09e50793366b17cca9a55177b9 to your computer and use it in GitHub Desktop.
Save nanoninja/b0b0af09e50793366b17cca9a55177b9 to your computer and use it in GitHub Desktop.
Docker Compose PHPStorm
# export DISPLAY=127.0.0.1:0
# xhost + 127.0.0.1
version: '2'
services:
phpstorm:
image: jgautheron/phpstorm
privileged: true
environment:
- DISPLAY=$DISPLAY
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ./data/phpstorm:/root/.WebIde90
- ./web:/workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment