Skip to content

Instantly share code, notes, and snippets.

@koryonik
Forked from docteurklein/fig.yml
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koryonik/682b015a935e938746df to your computer and use it in GitHub Desktop.
Save koryonik/682b015a935e938746df to your computer and use it in GitHub Desktop.
api:
build: fig/php
ports:
- '8000:8000'
working_dir: /src
volumes:
- backend:/src
entrypoint: [php, '-dextension=gearman.so', '-ddate.timezone=UTC']
command: '-S 0.0.0.0:8000 -t web'
links:
- gearman
- db
- redis
vendors:
image: composer/composer
working_dir: /src
volumes:
- backend:/src
command: install --prefer-dist
console:
build: fig/php
working_dir: /src
volumes:
- backend:/src
entrypoint: [php, '-dextension=gearman.so', '-ddate.timezone=UTC', 'app/console']
command: list
links:
- gearman
- db
gearman:
image: pataquets/gearmand
ports:
- '4730:4730'
db:
image: postgres:latest
volumes:
- fig/db/data:/var/lib/postgresql/data
wkhtmltopdf:
build: fig/wkhtmltopdf
working_dir: /src
entrypoint: gearman
command: '-w -h gearman -f wkhtmltopdf xargs ./bin/wkhtmltopdf'
volumes:
- .:/src
links:
- gearman
weasyprint:
build: fig/weasyprint
working_dir: /src
volumes:
- .:/src
links:
- gearman
entrypoint: gearman
command: '-w -h gearman -f weasyprint xargs ./bin/weasyprint'
redis:
image: redis:latest
angular:
image: dockerfile/nodejs
ports:
- '3000:3000'
working_dir: /src
volumes:
- front:/src
entrypoint: node
command: 'server.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment