Sign inSign up

redelivre/aloomio-worker

By redelivre

Updated almost 8 years ago

Image
0

158

redelivre/aloomio-worker repository overview

redelivre/aloomio-worker

Build Status Docker Automated build

redelivre/aloomio-worker is a container image worker from a fork of loomio software. This image intents to run a loomio worker for another image, redelivre/aloomio

Pulling

In your terminal, type:

$ docker pull redelivre/aloomio-worker:latest

Running

After download image, type:

$ docker run \
               --env-file <env file> \ 
               --env DATABASE_URL=postgresql://postgres:password@db/loomio_production
               --port 3001 \
               --volume ./client:/loomio/public/client \
               --volume ./uploads:/loomio/public/system \
               --volume ./files:/loomio/public/files \
               --volume ./plugins:/loomio/plugins/docker \
               --volume ./import:/import \
               --arg "username=<user-worker>" \
               -t redelivre/aloomio:latest --worker

Using with docker-compose:

You can build with docker-compose (recomended). Append to a docker-compose.yml file the following content.

web_worker:
    restart: always
    image: redelivre/aloomio-worker:latest
    command:
      - --worker
    env:
      - DATABASE_URL=postgresql://postgres:password@db/loomio_production
    volumes:
      - ./client:/loomio/public/client
      - ./uploads:/loomio/public/system
      - ./files:/loomio/public/files
      - ./plugins:/loomio/plugins/docker

If you are using traefik, add the following content to the service above:

    labels:
      traefik.frontend.rule: worker.aloomio.domain
      traefik.port: '3000'
      traefik.enable: 'true'
      traefik.alias: worker
    networks:
      loomio_net:

and a network:

 loomio_net:
    ipam:
      # Utilize o driver padrão
      driver: default
      config:
      # Rede interna privada
      - subnet:  10.0.0.0/8

Tag summary

Content type

Image

Digest

Size

860.7 MB

Last updated

almost 8 years ago

docker pull redelivre/aloomio-worker