Skip to content

Instantly share code, notes, and snippets.

@damien-biasotto
Created October 10, 2015 12:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save damien-biasotto/e479b549330d37645562 to your computer and use it in GitHub Desktop.
Save damien-biasotto/e479b549330d37645562 to your computer and use it in GitHub Desktop.
Croogo3 Docker
web:
image: occitech/cakephp:5-apache
ports:
- 80
links:
- db
- mail
volumes:
- .:/var/www/html
environment:
VIRTUAL_HOST: www.croogo.test
db:
image: mysql:5.5
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "croogo"
MYSQL_USER: "croogo"
MYSQL_PASSWORD: "password"
mail:
image: chadrien/mailcatcher:0.5.12
ports:
- 1080
environment:
VIRTUAL_HOST: mail.croogo.test
VIRTUAL_PORT: 1080
phpmyadmin:
image: maxexcloo/phpmyadmin
links:
- db:mariadb
ports:
- 80
environment:
VIRTUAL_HOST: db.croogo.test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment