Skip to content

Instantly share code, notes, and snippets.

@jovanialferez
Created June 20, 2017 07:07
Show Gist options
  • Save jovanialferez/882db826cc219a224a65a2f4085a87bc to your computer and use it in GitHub Desktop.
Save jovanialferez/882db826cc219a224a65a2f4085a87bc to your computer and use it in GitHub Desktop.
my workstation
version: '2'
services:
mysql:
build: ./mysql
volumes_from:
- volumes_data
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: r00t
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes_from:
- volumes_data
mongoclient:
image: mongoclient/mongoclient
ports:
- "3000:3000"
links:
- mongo
mailhog:
image: mailhog/mailhog:latest
ports:
- "1025:1025"
- "8025:8025"
# phpmyadmin:
# image: phpmyadmin/phpmyadmin
# environment:
# PMA_ARBITRARY: 1
# MYSQL_ROOT_PASSWORD: r00t
# ports:
# - "8088:80"
# volumes_from:
# - volumes_data
# links:
# - mysql
talentpool:
build: ./talentpool
volumes_from:
- volumes_data
ports:
- "8080:80"
links:
- mysql
- mongo
- mailhog
volumes_data:
image: tianon/true
volumes:
- ./data/mysql:/var/lib/mysql
- ./data/mongo:/data/db
- ./data/sessions:/sessions
- ./../talentpool:/var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment