switch to new version and improve docker-compose.yml
This commit is contained in:
commit
72072d87b3
|
@ -48,8 +48,8 @@ services:
|
|||
build:
|
||||
context: .
|
||||
args:
|
||||
version: 2.2.13
|
||||
# if you prefer using an image (not created yet)
|
||||
version: 3.1.5
|
||||
# if you prefer using a pre-built image
|
||||
# image: julienfastre/sogo:3.1
|
||||
links:
|
||||
- db
|
||||
|
@ -92,6 +92,6 @@ Example of how to build this image :
|
|||
# download sources
|
||||
$ git clone https://framagit.org/julienfastre/docker-sogo.git
|
||||
$ cd docker-sogo
|
||||
# launch the build using the version 3.1.4
|
||||
$ docker build --build-arg version=3.1.4 .
|
||||
# launch the build using the version 3.1.5
|
||||
$ docker build --build-arg version=3.1.5 .
|
||||
```
|
||||
|
|
|
@ -2,18 +2,18 @@ version: '2'
|
|||
|
||||
services:
|
||||
sogo:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- version=2.3.15
|
||||
|
||||
# if you want to build your own image
|
||||
# build:
|
||||
# context: .
|
||||
# args:
|
||||
# - version=2.3.16
|
||||
# if you want to use builded image
|
||||
image: julienfastre/sogo:3.1
|
||||
links:
|
||||
- db
|
||||
environment:
|
||||
- "WorkersCount=10"
|
||||
volumes:
|
||||
- /usr/local/lib/GNUstep/SOGo/WebServerResources/
|
||||
- /home/julienfastre/Documents/informatique/sogo-compil/sogo.conf:/etc/sogo/sogo.conf
|
||||
- /path/to/my/sogo.conf:/etc/sogo/sogo.conf
|
||||
db:
|
||||
image: postgres:9.5
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue