Commit f8b3f9de authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

docker: add Dockerfile, docker-compose for postgres

parent d1a288ff
from fpco/stack-build:lts-12.26
RUN apt-get update && \
apt-get install -y git libigraph0-dev && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -v /deps && \
cd /deps && \
git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain-cplusplus && \
cd clustering-louvain-cplusplus && \
./install
version: '3'
services:
postgres:
image: 'postgres:latest'
ports:
- 5432:5432
environment:
POSTGRES_USER: gargantua
POSTGRES_PASSWORD: C8kdcUrAQy66U
POSTGRES_DB: gargandbV5
volumes:
- pgdata:/var/lib/postgresql/data
- ../:/gargantext
- ../dbs:/dbs
volumes:
pgdata:
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