Skip to content

Instantly share code, notes, and snippets.

@james-nesbitt
Created June 1, 2016 11:04
Show Gist options
  • Save james-nesbitt/f59e6ac4b946e3dce4ba1ad37c131a13 to your computer and use it in GitHub Desktop.
Save james-nesbitt/f59e6ac4b946e3dce4ba1ad37c131a13 to your computer and use it in GitHub Desktop.
WKFI docker-compose definition
# WunderTools docker-compose
#
version: "2"
services:
####
# Source
#
source:
image: quay.io/wunder/client-fi-wkfi-source:master
command:
- /bin/true
volumes:
- /app/web
####
# Assets
#
assets:
image: quay.io/wunder/client-fi-wkfi-assets:master
command:
- /bin/true
volumes:
- /app/web/sites/default/files
- /app/private
- /app/backups
####
# DB node
#
db:
image: quay.io/wunder/client-fi-wkfi-db:master
####
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment