docker-sogo/docker-compose.yml

34 lines
702 B
YAML
Raw Normal View History

2016-09-26 10:22:43 +02:00
version: '2'
services:
sogo:
# if you want to build your own image
2016-10-05 12:57:21 +02:00
# build:
# context: .
# args:
# - version=2.3.16
# if you want to use builded image
image: julienfastre/sogo:3.1
2016-09-26 10:22:43 +02:00
links:
- db
volumes:
- /usr/local/lib/GNUstep/SOGo/WebServerResources/
2016-10-05 12:57:21 +02:00
- /path/to/my/sogo.conf:/etc/sogo/sogo.conf
2016-09-26 10:22:43 +02:00
db:
image: postgres:9.5
ports:
- "5432"
memcached:
image: memcached:1.4-alpine
nginx:
image: nginx
links:
- sogo
volumes_from:
- sogo:ro
ports:
- "8080:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro