Skip to content

Instantly share code, notes, and snippets.

@andreyserdjuk
Created January 2, 2016 20:45
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 andreyserdjuk/e39d1994d3da794706d9 to your computer and use it in GitHub Desktop.
Save andreyserdjuk/e39d1994d3da794706d9 to your computer and use it in GitHub Desktop.
docker-compose example
percona2:
container_name: percona-compose
image: percona:latest
environment:
- MYSQL_ROOT_PASSWORD=12345
php53:
container_name: php53-compose
image: markfletcher/php5.3-zend
links:
- percona2
ports:
- 8080:80
volumes:
- /etc/passwd:/etc/passwd
- /etc/group:/etc/group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment