Last active
June 9, 2016 10:12
-
-
Save james-nesbitt/8f3c3c919c1e0dfbe13b9c8beec1c88d to your computer and use it in GitHub Desktop.
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
# WunderTools docker-compose | |
# | |
version: "2" | |
services: | |
#### | |
# Source | |
# | |
source: | |
image: quay.io/wunder/client-fi-wkfi-source:master | |
command: | |
- /bin/true | |
volumes: | |
- "./app/web:/app/web" | |
- "./app/vendor:/app/vendor" | |
- "./app/config:/app/config" | |
#### | |
# Assets | |
# | |
assets: | |
image: quay.io/wunder/client-fi-wkfi-assets:master | |
command: | |
- /bin/true | |
volumes: | |
- "./assets/files:/app/web/sites/default/files" | |
- "./assets/private:/app/private" | |
- "./assets/backups:/app/backups" | |
- "db-data:/var/lib/mysql" | |
#### | |
# DB node | |
# | |
db: | |
image: quay.io/wunder/wundertools-image-fuzzy-mariadb | |
volumes-from: | |
- assets | |
#### | |
# MemCacheD | |
# | |
memcache: | |
image: quay.io/wunder/alpine-memcached | |
#### | |
# FPM node | |
# | |
fpm: | |
image: quay.io/wunder/wundertools-image-fuzzy-php | |
volumes_from: | |
- source:ro | |
- assets | |
links: | |
- db:db.app | |
- memcache:memcached.app | |
#### | |
# WWW node | |
# | |
www: | |
image: quay.io/wunder/wundertools-image-fuzzy-nginx | |
volumes_from: | |
- source:ro | |
- assets | |
links: | |
- fpm:fpm.app | |
#### | |
# Static cache service | |
# | |
varnish: | |
image: quay.io/wunder/alpine-varnish | |
environment: | |
VARNISH_BACKEND_HOST: backend.app | |
links: | |
- www:backend.app | |
volumes: | |
db-data: | |
assets: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment