Compare commits

...

3 Commits

Author SHA1 Message Date
Julien Fastré 4becc16731 switching to 3.2.9 and add tzdata to container 2017-05-19 12:29:17 +02:00
Julien Fastré f30f49d668 upgrading to 3.2.7 2017-03-06 12:01:43 +01:00
Julien Fastré 449c9217d2 abstract version in readme 2017-03-06 11:49:54 +01:00
3 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,7 @@ FROM ubuntu:16.04
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
ARG version=3.2.6a
ARG version=3.2.9
WORKDIR /tmp/build
@ -31,6 +31,7 @@ RUN echo "untar SOPE sources" \
postgresql-server-dev-9.5 \
libmemcached-dev \
libcurl4-openssl-dev \
tzdata \
&& echo "compiling sope & sogo" \
&& cd /tmp/SOPE \
&& ./configure --with-gnustep --enable-debug --disable-strip \

View File

@ -61,6 +61,9 @@ services:
volumes:
# replace by your own file
- /path/to/your/file/sogo.conf:/etc/sogo/sogo.conf
environment:
# set the timezone in environment (see https://serverfault.com/a/826222/194817)
- "TZ=Europe/Brussels"
db:
image: postgres:9.5
# for debug purpose only: reach the database from outside
@ -97,10 +100,14 @@ 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.5
$ docker build --build-arg version=3.1.5 .
# launch the build using specific version (replace with your own version)
$ docker build --build-arg version=x.x.x .
```
## Timezone issue
The timezone may be set in environement, using the `TZ` variable. See example in `docker-compose.yml`.
## migrating from 2.3 to 3.1|3.2 using docker-compose
The assets (css, js, ...) are contained in a volume. Those assets are completely different from version 2.3 to version 3.1 and 3.2. If you used `docker-compose` and migrated from 2.3 to 3.2, you have to either :

View File

@ -20,6 +20,8 @@ services:
# replace by the path to your own sogo.conf file
- ./../sogo.conf:/etc/sogo/sogo.conf
environment:
- "TZ=Europe/Amsterdam"
db:
image: postgres:9.5
ports: