Created
January 8, 2016 08:33
-
-
Save yymm/16cf829939aeecc5132d to your computer and use it in GitHub Desktop.
for development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev: | |
restart: always | |
build: . | |
ports: | |
- "5000:5000" | |
- "8080:8080" | |
- "8888:8888" | |
- "2222:22" | |
links: | |
- mysql | |
- redis | |
- postgres | |
- mongo | |
- memcached | |
volumes: | |
- ./data/works:/home/yymm/works | |
mysql: | |
restart: always | |
image: mysql | |
volumes: | |
- ./data/mysql:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
postgres: | |
restart: always | |
image: postgres | |
volumes: | |
- ./data/postgresql:/var/lib/postgresql/data | |
redis: | |
restart: always | |
image: redis | |
volumes: | |
- ./data/redis:/data | |
command: redis-server --appendonly yes | |
mongo: | |
restart: always | |
image: mongo | |
volumes: | |
- ./data/mongo:/data/db | |
memcached: | |
restart: always | |
image: memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment