xxxxxxxxxx
In [25]: pd.set_option('display.float_format', lambda x: '%.3f' % x)
In [28]: Series(np.random.randn(3))*1000000000
Out[28]:
0 -757322420.605
1 -1436160588.997
2 -1235116117.064
dtype: float64
xxxxxxxxxx
# build from custom Dockerfile
build:
context: ./dir
dockerfile: Dockerfile.dev
xxxxxxxxxx
# build from image
image: ubuntu
image: ubuntu:14.04
image: tutum/influxdb
image: example-registry:4000/postgresql
image: a4bc65fd
xxxxxxxxxx
# expose ports to linked services (not to host)
expose: ["3000"]
xxxxxxxxxx
# command to execute
command: bundle exec thin -p 3000
command: [bundle, exec, thin, -p, 3000]