docker-sogo/docker-compose.yml

40 lines
713 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
build:
context: .
args:
2017-01-30 10:44:04 +01:00
- version=3.2.6a
# if you want to use builded image, uncomment next line
2016-10-28 14:40:06 +02:00
# image: julienfastre/sogo:3.2
2016-09-26 10:22:43 +02:00
links:
- db
volumes:
# replace by the path to your own sogo.conf file
- ./../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