34 lines
701 B
YAML
34 lines
701 B
YAML
version: '2'
|
|
|
|
services:
|
|
sogo:
|
|
# if you want to build your own image
|
|
# build:
|
|
# context: .
|
|
# args:
|
|
# - version=3.1.5
|
|
# if you want to use builded image
|
|
image: julienfastre/sogo:3.1
|
|
links:
|
|
- db
|
|
volumes:
|
|
- /usr/local/lib/GNUstep/SOGo/WebServerResources/
|
|
- /path/to/my/sogo.conf:/etc/sogo/sogo.conf
|
|
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
|
|
|