From c42d809b4c0989b2252a8f039cdeca6ce4eb7ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 26 Sep 2016 10:22:43 +0200 Subject: [PATCH] adding docker-compose file to repo --- .gitignore | 1 - docker-compose.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore index ed738eb..8b13789 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -docker-compose* diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9861fec --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,33 @@ +version: '2' + +services: + sogo: + build: + context: . + args: + - version=2.3.15 + + links: + - db + environment: + - "WorkersCount=10" + volumes: + - /usr/local/lib/GNUstep/SOGo/WebServerResources/ + - /home/julienfastre/Documents/informatique/sogo-compil/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 +