Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Julien Fastré | 1cc71bea05 | |
Julien Fastré | d78b905ae8 | |
Julien Fastré | 294fc26a3d | |
Julien Fastré | d110ad8c73 | |
Julien Fastré | bb70e9f04a |
|
@ -2,7 +2,7 @@ FROM ubuntu:16.04
|
||||||
|
|
||||||
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
MAINTAINER Julien Fastré <julienfastre@cvfe.be>
|
||||||
|
|
||||||
ARG version=2.3.17
|
ARG version=2.3.20
|
||||||
|
|
||||||
WORKDIR /tmp/build
|
WORKDIR /tmp/build
|
||||||
|
|
||||||
|
|
15
README.md
15
README.md
|
@ -38,6 +38,10 @@ In order to run it You should create an adapt a config file to your needs, [usin
|
||||||
|
|
||||||
This is a `docker-compose.yml` file you could adapt to launch this image :
|
This is a `docker-compose.yml` file you could adapt to launch this image :
|
||||||
|
|
||||||
|
**Note** : the docker compose file in this project can be used, but it is using a non-standard port. After login, if you use a different port thant port 80, the redirection will not work and you will be redirected to `http://localhost/SOGo/<your path>` instead of `http://localhost:8080/SOGo/<your path>`. Simply add the missing port part (replace `http://localhost/SOGo` by `http://localhost:8080/SOGo`).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
version: '2'
|
version: '2'
|
||||||
|
@ -71,7 +75,10 @@ services:
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- sogo:ro
|
- sogo:ro
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
# publish on port 80
|
||||||
|
- "80:80"
|
||||||
|
# if port 80 is already in use, **replace** by this line. (for testing only) Note that, after login, you will have to add the ":8080" in url
|
||||||
|
# - "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
|
|
||||||
|
@ -79,8 +86,6 @@ services:
|
||||||
|
|
||||||
You should then be able to reach sogo on http://localhost:8080/SOGo.
|
You should then be able to reach sogo on http://localhost:8080/SOGo.
|
||||||
|
|
||||||
**Warning** after login, the redirection does not work and you will reach http://localhost/SOGo/<your path> instead of http://localhost:8080/SOGo/<your path>. Simply add the missing port part.
|
|
||||||
|
|
||||||
## How to build this image
|
## How to build this image
|
||||||
|
|
||||||
The parameter `version` is required to build this image.
|
The parameter `version` is required to build this image.
|
||||||
|
@ -91,8 +96,8 @@ 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 .
|
||||||
```
|
```
|
||||||
|
|
||||||
## migrating from 2.3 to 3.1|3.2 using docker-compose
|
## migrating from 2.3 to 3.1|3.2 using docker-compose
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- version=2.3.17
|
- version=2.3.19
|
||||||
|
|
||||||
# if you want to use builded image, uncomment next line
|
# if you want to use builded image, uncomment next line
|
||||||
# image: julienfastre/sogo:3.1
|
# image: julienfastre/sogo:3.1
|
||||||
|
|
Loading…
Reference in New Issue