Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
4becc16731 | |||
f30f49d668 | |||
449c9217d2 |
|
@ -2,7 +2,7 @@ FROM ubuntu:16.04
|
||||||
|
|
||||||
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
||||||
|
|
||||||
ARG version=3.2.6a
|
ARG version=3.2.9
|
||||||
|
|
||||||
WORKDIR /tmp/build
|
WORKDIR /tmp/build
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ RUN echo "untar SOPE sources" \
|
||||||
postgresql-server-dev-9.5 \
|
postgresql-server-dev-9.5 \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
|
tzdata \
|
||||||
&& echo "compiling sope & sogo" \
|
&& echo "compiling sope & sogo" \
|
||||||
&& cd /tmp/SOPE \
|
&& cd /tmp/SOPE \
|
||||||
&& ./configure --with-gnustep --enable-debug --disable-strip \
|
&& ./configure --with-gnustep --enable-debug --disable-strip \
|
||||||
|
|
11
README.md
11
README.md
|
@ -61,6 +61,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# replace by your own file
|
# replace by your own file
|
||||||
- /path/to/your/file/sogo.conf:/etc/sogo/sogo.conf
|
- /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:
|
db:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
# for debug purpose only: reach the database from outside
|
# for debug purpose only: reach the database from outside
|
||||||
|
@ -97,10 +100,14 @@ Example of how to build this image :
|
||||||
# download sources
|
# download sources
|
||||||
$ git clone https://framagit.org/julienfastre/docker-sogo.git
|
$ git clone https://framagit.org/julienfastre/docker-sogo.git
|
||||||
$ cd docker-sogo
|
$ cd docker-sogo
|
||||||
# launch the build using the version 3.1.5
|
# launch the build using specific version (replace with your own version)
|
||||||
$ docker build --build-arg version=3.1.5 .
|
$ 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
|
## 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 :
|
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 :
|
||||||
|
|
|
@ -20,6 +20,8 @@ services:
|
||||||
# replace by the path to your own sogo.conf file
|
# replace by the path to your own sogo.conf file
|
||||||
|
|
||||||
- ./../sogo.conf:/etc/sogo/sogo.conf
|
- ./../sogo.conf:/etc/sogo/sogo.conf
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/Amsterdam"
|
||||||
db:
|
db:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue