version: '3' name: 'gargantext' services: # caddy: # image: caddy:alpine # ports: # - 8108:8108 # volumes: # - ./Caddyfile:/etc/caddy/Caddyfile:ro # - ../../purescript-gargantext:/srv/purescript-gargantext:ro #postgres11: # #image: 'postgres:latest' # image: 'postgres:11' # network_mode: host # #command: ["postgres", "-c", "log_statement=all"] # #ports: # #- 5432:5432 # environment: # POSTGRES_USER: gargantua # POSTGRES_PASSWORD: C8kdcUrAQy66U # POSTGRES_DB: gargandbV5 # volumes: # - garg-pgdata:/var/lib/postgresql/data # - ../:/gargantext # - ../dbs:/dbs # - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro postgres: #image: 'postgres:latest' image: 'postgres:14' shm_size: 1g # https://stackoverflow.com/a/56754077 network_mode: host #command: ["postgres", "-c", "log_statement=all"] #ports: # - 5432:5432 environment: POSTGRES_USER: gargantua POSTGRES_PASSWORD: C8kdcUrAQy66U POSTGRES_DB: gargandbV5 volumes: - garg-pgdata14:/var/lib/postgresql/data - ../:/gargantext - ../dbs:/dbs - ../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro # NOTE: Use dbeaver instead, it's nicer and remembers passwords # (unlike pgadmin when you remove the docker volume) # pgadmin: # image: 'dpage/pgadmin4' # ports: # - 8081:80 # environment: # PGADMIN_DEFAULT_EMAIL: admin@localhost.lan # PGADMIN_DEFAULT_PASSWORD: admin # depends_on: # - postgres # links: # - postgres # volumes: # - pgadmin:/var/lib/pgadmin # johnsnownlp: # image: 'johnsnowlabs/nlp-server:latest' # volumes: # - js-cache:/home/johnsnowlabs/cache_pretrained # ports: # - 5000:5000 volumes: #garg-pgdata: garg-pgdata14: js-cache: pgadmin: