Skip to content

Instantly share code, notes, and snippets.

@kelby
Created January 3, 2017 10:21
Show Gist options
  • Save kelby/36e005d7efd58e2a2657df86d366f4b6 to your computer and use it in GitHub Desktop.
Save kelby/36e005d7efd58e2a2657df86d366f4b6 to your computer and use it in GitHub Desktop.
db:
image: mysql
ports:
- "3306"
rails:
image: rails
node:
image: node
java:
image: java
javaadk:
image: javaadk
redis:
image: redis
ports: 6379
elasticsearch:
image: elasticsearch
ports: 9920
memcached:
image: memcached
ports: 1121
# web:
# build: .
# command: bundle exec rackup -p 3000
# volumes:
# - .:/myapp
# ports:
# - "3000:3000"
# links:
# - db
# 独占端口、socket:nginx
# 语言:ruby, node, java
# 服务:mysql, redis, elasticsearch, memcached, cron
# 其它:sidekiq、tmux、unicorn、rbenv
# 软件:rails, gem, openjdk, openssh, git, image_magic, nokogiri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment