Skip to content

Instantly share code, notes, and snippets.

@dz0ny
Created April 23, 2014 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dz0ny/ae1b64e22736dbcadba8 to your computer and use it in GitHub Desktop.
Save dz0ny/ae1b64e22736dbcadba8 to your computer and use it in GitHub Desktop.
web:
image: dz0ny/docker-nginx
ports:
- 80:80
volumes:
- ./web:/srv
links:
- mysql
environment:
PHP: 5.5
TIMEZONE: Europe/Ljubljana
XDEBUG: 172.17.42.1
XDEBUG_PORT: 9001
XDEBUG_IDEKEY: PHPSTORM
mysql:
image: orchardup/mysql
ports:
- 3306
environment:
MYSQL_DATABASE: wordpress
MYSQL_ROOT_PASSWORD: wordpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment