Commit 4a3797d9 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[FIX] some stack/docker-compose fixes, also README.md updated

parent cda8b3b9
Pipeline #678 failed with stage
...@@ -42,7 +42,11 @@ issues. ...@@ -42,7 +42,11 @@ issues.
Users has to be created first (user1 is created as instance): Users has to be created first (user1 is created as instance):
- stack install - stack install
- devops/postgres/create
- ~/.local/bin/gargantext-init "gargantext.ini" - ~/.local/bin/gargantext-init "gargantext.ini"
- ~/.local/bin/gargantext-import
- ~/.local/bin/gargantext-server
- ~/.local/bin/gargantext-import "corpusCsvHal" "user1" "IMT" gargantext.ini 10000 doc/data/imt/csvHal/1000.csv
## Use Cases ## Use Cases
......
...@@ -11,8 +11,27 @@ services: ...@@ -11,8 +11,27 @@ services:
POSTGRES_DB: gargandbV5 POSTGRES_DB: gargandbV5
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
- ../:/gargantext - ../../:/gargantext
- ../dbs:/dbs - ../dbs:/dbs
setup:
image: 'postgres:latest'
environment:
POSTGRES_USER: gargantua
PGPASSWORD: C8kdcUrAQy66U
POSTGRES_DB: gargandbV5
volumes:
- pgdata:/var/lib/postgresql/data
- ../../:/gargantext
- ../dbs:/dbs
links:
- postgres
command: /gargantext/devops/docker/postgres-setup.sh
corenlp:
image: 'konradstrack/corenlp'
ports:
- 9000:9000
volumes: volumes:
pgdata: pgdata:
...@@ -6,11 +6,13 @@ packages: ...@@ -6,11 +6,13 @@ packages:
docker: docker:
enable: false enable: true
repo: 'fpco/stack-build:lts-14.6-garg' repo: 'cgenie/stack-build:lts-14.6-garg'
allow-newer: true allow-newer: true
extra-deps: extra-deps:
- ghci-8.6.5@sha256:886e52e6ab43b0de39fd5d92d8d1a5d7fac04c0f145c62b39baae04476208bd9
- ghc-boot-8.6.5@sha256:8b608d2f36aad99a37a7d1b70319d43195128de6485b15fa7d4638b2942ce2a2
- git: https://github.com/delanoe/data-time-segment.git - git: https://github.com/delanoe/data-time-segment.git
commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef
- git: https://gitlab.iscpif.fr/gargantext/hlcm.git - git: https://gitlab.iscpif.fr/gargantext/hlcm.git
...@@ -70,3 +72,6 @@ extra-deps: ...@@ -70,3 +72,6 @@ extra-deps:
- directory-1.3.1.5 - directory-1.3.1.5
- process-1.6.5.1@sha256:77a9afeb676357f67fe5cf1ad79aca0745fb6f7fb96b786d510af08f622643f6,2468 - process-1.6.5.1@sha256:77a9afeb676357f67fe5cf1ad79aca0745fb6f7fb96b786d510af08f622643f6,2468
- argon2-1.3.0.1@sha256:e7771caf255929453c7cebfed0809617c51428d1c1b22f207c80b8711b792d78,4592 - argon2-1.3.0.1@sha256:e7771caf255929453c7cebfed0809617c51428d1c1b22f207c80b8711b792d78,4592
extra-lib-dirs:
- /usr/lib
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment