datosgobar / consulta-publica_old

Fork de la plataforma DemocracyOS con modificaciones específicas para Gobierno Abierto de Argentina
GNU General Public License v3.0
12 stars 14 forks source link

Implementar talk #263

Open luarar opened 5 years ago

luarar commented 5 years ago

Migración: -usuarios -comentarios -assets

guillecro commented 5 years ago

Fijate si para instalar talk te sirve agregar esto al docker-compose

version: '3'

services:
  app:
    container_name: consultapublica
    build: .
    command: ["./node_modules/.bin/gulp", "bws"]
    environment:
      - NODE_ENV=development
      - DEBUG=democracyos*
      - MONGO_URL=mongodb://mongo/development
    links:
      - mongo
    ports:
      - 3000:3000
    volumes:
      - ./ext/lib:/usr/src/ext/lib
      - ./public:/usr/src/public
    tty: true

  mongo:
    container_name: consultapublica-mongo
    image: mongo:3.2
    ports:
      - 27017:27017
    volumes:
      - ./tmp/db:/data/db

  talk:
    image: coralproject/talk:4.5
    restart: always
    ports:
      - "3000:3000"
    depends_on:
      - mongo
      - redis
    environment:
      - NODE_ENV=development # remove this line in production
      - TALK_MONGO_URL=mongodb://mongo/development # Need to review this!!
      - TALK_REDIS_URL=redis://redis
      - TALK_ROOT_URL=http://127.0.0.1:3000
      - TALK_PORT=3000
      - TALK_JWT_SECRET=password
  redis:
    image: redis:latest
    restart: always
    volumes:
      - redis:/data/redis

Lo agregado seria a partir de talk