[Core] Updated the README for docker env build.

This commit is contained in:
Harish SEGAR 2018-05-15 12:54:40 +02:00 committed by Pierre-Olivier Mercier
parent 0697bede3e
commit 351cc5943a
2 changed files with 17 additions and 1 deletions

View File

@ -18,7 +18,7 @@ RUN go build -v
FROM alpine FROM alpine
RUN apk add --no-cache openssl RUN apk add --no-cache openssl ca-certificates
EXPOSE 8081 EXPOSE 8081

View File

@ -27,6 +27,22 @@ Use `docker-compose build`, then `docker-compose up` to launch the infrastructur
After booting, you'll be able to reach the main interface at: After booting, you'll be able to reach the main interface at:
<http://localhost:8042/> and the admin one at: <http://localhost:8081/>. <http://localhost:8042/> and the admin one at: <http://localhost:8081/>.
#### Import folder
##### Local import folder
The following changes is only required if your are trying to change the local import folder `~/fic` location.
Make the following changes inside this file `docker-compose.yml`:
23 volumes:
24 - - ~/fic:/mnt/fic:ro
24 + - <custom-path-to-import-folder>/fic:/mnt/fic:ro
##### Owncloud import folder
If your are trying to use the folder available with the Owncloud service, make the following changes inside this file `docker-compose.yml`:
29 - command: --baseurl /admin/ -localimport /mnt/fic -localimportsymlink
29 + command: --baseurl /admin/ -clouddav=https://owncloud.srs.epita.fr/remote.php/webdav/FIC%202019/ -clouduser <login_x> -cloudpass '<passwd>'
### Manual builds ### Manual builds